Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/samuelagm/moviex

A movie API SERVICE
https://github.com/samuelagm/moviex

golang

Last synced: 14 days ago
JSON representation

A movie API SERVICE

Awesome Lists containing this project

README

        

# Project
***
This project does the following:
1. 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.

2. Downloads movie data into an in memory sqlite3 database

### App Url
[https://morning-chamber-96103.herokuapp.com](https://morning-chamber-96103.herokuapp.com/)
### API Docs
[https://morning-chamber-96103.herokuapp.com/api/v1/docs/index.html](https://morning-chamber-96103.herokuapp.com/api/v1/docs/index.html)
### Prerequisites

1. Install go dependencies
`go install`

### Unit Tests
- `go test ./internal/api/types/...`

### Execution

`go run main.go`