mirror of
https://github.com/gabehf/trivia-api.git
synced 2026-03-07 13:38:14 -08:00
No description
| server | ||
| trivia | ||
| Dockerfile | ||
| go.mod | ||
| go.sum | ||
| main.go | ||
| README.md | ||
| trivia.json | ||
Stateless, Containerized Trivia API
This project has a blog post going through the development process. Read the post here: https://mnrva.dev/posts/stateless-containerized-trivia-api-go
Running the server
Copy the repo
git clone git@github.com:gabehf/trivia-api.git
Then, run the server using Go
cd trivia-api
go run .
Or, build the docker image and run that
docker build --tag trivia-api .
Then,
docker run -p 3000:3000 trivia-api