ethicnology / go-tmdb

Create a postgres database Collect `TheMovieDatabase` movies one by one Expose a simple api

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

go-tmdb

Create a postgres database Collect TheMovieDatabase movies one by one Expose a simple api

fill your own values in .env

cp .env.example .env

scrap tmdb

go run main.go

api

go run main.go --mode api
{
		"/search/:query ":     "Find a thing by querying part of a title. eg: /search/Amélie",
		"/thing/:id ":         "Return the thing according to the provided id. eg: /thing/211",
		"/thing/:id/details ": "Return all details of the provided id thing. eg: /thing/211/details",
}

About

Create a postgres database Collect `TheMovieDatabase` movies one by one Expose a simple api


Languages

Language:Go 100.0%