No description
Find a file
2023-12-09 07:04:17 +00:00
server First 2023-12-09 07:04:17 +00:00
trivia First 2023-12-09 07:04:17 +00:00
Dockerfile First 2023-12-09 07:04:17 +00:00
go.mod First 2023-12-09 07:04:17 +00:00
go.sum First 2023-12-09 07:04:17 +00:00
main.go First 2023-12-09 07:04:17 +00:00
README.md First 2023-12-09 07:04:17 +00:00
trivia.json First 2023-12-09 07:04:17 +00:00

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