- This project fetches movie data from TMDB api and allows you to play with the data in your own postgresSQL Database
- Notes: The functions requested can be idenfied by comments in the code
- Ex: // 1. Back end task, 1
There is 3 projects in this repository:
- grabber/
- fetches and push data into local postgres
- api/
- Queries the data from postgres database
- ui/
- Render the data
- docker-compose
- node LTS version
- docker-compose up -d
- Add you bearer token from tmdb api to make sure calls to api are authorized in /grabber/src/tmdb/tmdb.service.ts
- cd api/ && npm install && npm start
- cd grabber/ && npm install && npm start
- cd ui/ && npm install && npm start
- At this step you should have data into you database. There is a ui to access it at http://localhost:8080
- A swagger is also available at http://localhost:3003/api
- UI is available through http://localhost:3000/
-
- Back end task 3, GET http://localhost:3003/movies?genreId=
-
- Back end task 4, GET http://localhost:3003/movies?sortBy=&orderBy=
-
- Back end task 5, POST http://localhost:3003/users
- Error handling
- Get all movies from tbdb
- Configuration file
- Secret management
- Logs
- Unit tests
- DB management and schema evolution control (Flyway like)
- Style