Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/samuelagm/moviex
- Owner: samuelagm
- License: apache-2.0
- Created: 2022-08-22T16:28:11.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2023-09-27T15:52:25.000Z (over 1 year ago)
- Last Synced: 2024-11-10T16:12:50.139Z (2 months ago)
- Topics: golang
- Language: Go
- Homepage:
- Size: 114 KB
- Stars: 1
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
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)
### Prerequisites1. Install go dependencies
`go install`### Unit Tests
- `go test ./internal/api/types/...`### Execution
`go run main.go`