A simple API that retrieve trending movies data from The movie database, and store into MongoDB
- Download Realize
- Make sure to add
go/bin
to env - Run
realize start
, and all the related packages should be installed
base url = api/v1
Route | Method | Description |
---|---|---|
/save | GET | Save trending movies from The movie database to database |
/trending | GET | Get trending movies |
/trending?title=keyword | GET | Full text search on movie title |
/trending | DELETE | Delete all the trending movies data from database |