A minimal bootstrap HTTP server written in Go
- Follows minimal standard project layout specified in project-layout
- Barebones HTTP server using the following libraries:
- Logging: uber-go/zap
- Routing and middleware: go-chi/chi
- Environment configuration: spf13/viper
- Easy addition of new routes + graceful shutdown
- Running the server using Docker
- Docker
- Go 1.16
-
Clone this repository
git clone git@github.com:irisgve/bootstrap-go-httpserver.git
-
Replace all instances of
bootstrap-go-httpserver
with the app name -
To run the server
make run
The scripts and documentation in this project are released under the MIT License