Skip to content

aleproust/luigi

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

luigi

  • 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

Architecture:

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

Prerequisite:

  • docker-compose
  • node LTS version

Run the project:

  1. docker-compose up -d
  2. Add you bearer token from tmdb api to make sure calls to api are authorized in /grabber/src/tmdb/tmdb.service.ts
  3. cd api/ && npm install && npm start
  4. cd grabber/ && npm install && npm start
  5. cd ui/ && npm install && npm start
  6. At this step you should have data into you database. There is a ui to access it at http://localhost:8080
  7. A swagger is also available at http://localhost:3003/api
  8. UI is available through http://localhost:3000/

Current API Requests

Could be improved

  • Error handling
  • Get all movies from tbdb
  • Configuration file
  • Secret management
  • Logs
  • Unit tests
  • DB management and schema evolution control (Flyway like)
  • Style

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors