1 - Add environment variables
Create an .env file and add this variables :
- NEXT_PUBLIC_OMDB_API_URL=insert api url
- NEXT_PUBLIC_API_KEY=insert api key
2 - Add modules
npm install
# or
yarn install
3 - Run the development server :
npm run dev
# or
yarn dev
Open http://localhost:3000 with your browser to see the result.
Note : the root file is pages/index.tsx
.
This is a Next.js project bootstrapped with create-next-app
.
Created by Thomas Aguirregabiria