Backend API server for the PetPal project written in Go. Uses Gin framework.
Download a Google Service Account key from the PetPal firebase console, and set the path in your environment
export GOOGLE_APPLICATION_CREDENTIALS=relative/path/to/key.json
export DB_HOST=<db-host>
export DB_PORT=<db-port>
export DB_NAME=<db-name>
export DB_USER=<db-username>
export DB_PASS=<db-password>
go run .
SwaggerUI endpoint coming soon
To see the UI for the OApi Documentation
- Download the OpenAPI (Swagger) Editor for VSCode
- Select the following from the Command Palette
OpenAPI: show preview using Swagger UI
. ...