A simple REST API server in Go using:
- SQLite Database
- gorilla/mux router
- swaggo/swag API documentation
Can serve a SPA UI frontend in addition:
git clone https://github.com/yannickbilcot/game-stats-api.git
cd game-stats-api
# fetch the ui submodule
git submodule update --init --recursive
# build the ui
cd ui
npm install
quasar build
- API documentation: https://game-stats-demo.herokuapp.com/swagger/
go get -u github.com/swaggo/swag/cmd/swag
swag init
go build
./game-stats-api