This is my lil Go http server for the Reverb;d project, built with workbench.
api_common
: a general purpose package with all of my util code for http routers, aws, caching, etc.handlers
: a package for all the http handlers and the route registrymodel
: a package for all the data models used throughout the service*-service
: an isolated package of business logic functions that can be deployed independently, or as a part of a larger service likehandlers
swaggerui
: a simple swagger ui page that can simplify documentation based on yaml or json openapi files
make
: run the server locally. spins up mock services outlined indocker-compose.yaml
- This starts the server on port 8080
- Additional AWS infra can be connected to in
api_common/aws_utils/aws_client.go