This project does the following:
-
Serves endpoint for the following routes:
GET /api/v1/movies
list all movies.GET /api/v1/characters/:episodeId
list all characters in a movie with episode_id.GET /api/v1/comments/:episodeId
list all characters in a movie with episode_id.POST /api/v1/comment/:episodeId
add a comment to a movie with episode_id.
-
Downloads movie data into an in memory sqlite3 database
https://morning-chamber-96103.herokuapp.com
https://morning-chamber-96103.herokuapp.com/api/v1/docs/index.html
- Install go dependencies
go install
go test ./internal/api/types/...
go run main.go