This Web App is a demonstration of TMDB's API.
- Install the dependencies of the project by running
npm i
- You’ll need a TMDb account to request an API key. Once you are registered, go to account settings and click 'API' in sidebar to get your API key.
- Run
MOVIE_DB_API_KEY="your_api_key" npm run start:lambda
and in another tabnpm start
- Navigate on your browser to
http://localhost:3000/
to see the application - The lambda function used can be found locally at
http://localhost:3000/.netlify/functions/getMovies
- Install the dependencies of the project by running
npm i
- Execute the tests by running
npm t