A simple go API with minimum dependencies and postgres integration
-
Database
-
Configuration
- viper for configuration
-
Router
- chi as router
-
API Docs
- swag helps generating swagger from docs as well as serve swagger UI from within the API using any popular routers
Please see the makefile for available commands.
- To generate swagger API use the make command
make gen-swagger
then runmake run
and go to localhost to see the generated swagger docs