Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/stmoreau/tmdb-playground
👌Web App demonstrating TMDB's API 🔥
https://github.com/stmoreau/tmdb-playground
aws-lambda bem-css netlify netlify-lambda react react-context-api
Last synced: 2 days ago
JSON representation
👌Web App demonstrating TMDB's API 🔥
- Host: GitHub
- URL: https://github.com/stmoreau/tmdb-playground
- Owner: stmoreau
- Created: 2019-06-28T10:55:24.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2023-01-04T03:15:01.000Z (about 2 years ago)
- Last Synced: 2024-12-20T09:40:14.766Z (about 2 months ago)
- Topics: aws-lambda, bem-css, netlify, netlify-lambda, react, react-context-api
- Language: JavaScript
- Homepage: https://tmdb-playground.netlify.com/
- Size: 3.57 MB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 25
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# TMDB Sample application
This Web App is a demonstration of TMDB's API.
## Prerequisites
- [`node`](https://nodejs.org/en/download/)
- [`npm`](https://www.npmjs.com/get-npm)## Start the dev server
1. Install the dependencies of the project by running `npm i`
2. You’ll need a [TMDb account](https://www.themoviedb.org/account/signup) to request an API key. Once you are registered, go to account settings and click 'API' in sidebar to get your API key.
3. Run `MOVIE_DB_API_KEY="your_api_key" npm run start:lambda` and in another tab `npm start`
4. Navigate on your browser to `http://localhost:3000/` to see the application
5. The lambda function used can be found locally at `http://localhost:3000/.netlify/functions/getMovies`## Run tests (WIP)
1. Install the dependencies of the project by running `npm i`
2. Execute the tests by running `npm t`