To run Simple Retro API, you need to have Golang in your machine. We recommend at least version 1.21.
- ๐งน Clone the repository
git clone git@github.com:simple-retro/backend.git
- ๐ป Installing the dependencies
go get .
- ๐โโ๏ธ Running
go run main.go
Install swaggo if not installed in your system:
go install github.com/swaggo/swag/cmd/swag@latest
To update Swagger documentation run:
swag init -g internal/server/server.go
To format Swagger comments:
swag fmt
The documentation could be accessed in /swagger/index.html
To deploy the Simple Retro API, use Docker image.
docker build -t backend:<version> .
docker compose up -d
Distributed under the MIT License. See LICENSE
for more information.