maps-service/README.md
2024-11-26 14:03:18 -08:00

15 lines
444 B
Markdown

# STRAFES.NET API
## How to Begin Development
1. Run `go generate` to ensure the generated API is up-to-date. This project uses [ogen](https://github.com/ogen-go/ogen).
```bash
go generate -run "go run github.com/ogen-go/ogen/cmd/ogen@latest --target api --clean openapi.yaml"
```
2. Build the project.
```bash
go build git.itzana.me/strafesnet/maps-service
```
By default, the project opens at `localhost:8080`.