/movie-api

Template project to build API with GO without framework

Primary LanguageGo

movie-api

A simple API that retrieve trending movies data from The movie database, and store into MongoDB

How to run

  1. Download Realize
  2. Make sure to add go/bin to env
  3. Run realize start, and all the related packages should be installed

API endpoints

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