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 [email protected]:simple-retro/backend.git- 💻 Installing the dependencies
go get .- 🏃♂️ Running
go run main.goInstall swaggo if not installed in your system:
go install github.com/swaggo/swag/cmd/swag@latestTo update Swagger documentation run:
swag init -g internal/server/server.goTo format Swagger comments:
swag fmtThe 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 -dDistributed under the MIT License. See LICENSE for more information.