Internal map submission system written in golang. Much code copied from data-service.
Go to file
2024-12-09 18:16:07 -08:00
cmd/maps-service Missing changes 2024-11-26 18:30:58 -05:00
docs Missing changes 2024-11-26 18:30:58 -05:00
pkg tweak submission comment 2024-12-09 17:34:55 -08:00
validation partially implement publish_new 2024-12-06 21:00:19 -08:00
web web folder (dont use this code) 2024-12-09 21:14:54 -05:00
.gitignore Refactor 😮‍💨 2024-11-26 18:28:48 -05:00
generate.go Missing changes 2024-11-26 18:30:58 -05:00
go.mod implement siphash (confirmed identical hash) 2024-12-06 18:19:35 -08:00
go.sum implement siphash (confirmed identical hash) 2024-12-06 18:19:35 -08:00
LICENSE open source 2024-12-09 18:16:07 -08:00
openapi.yaml tweak openapi description 2024-12-09 17:34:46 -08:00
README.md open source 2024-12-09 18:16:07 -08:00

STRAFES.NET API

How to Begin Development

  1. Run go generate to ensure the generated API is up-to-date. This project uses ogen.

    go generate -run "go run github.com/ogen-go/ogen/cmd/ogen@latest --target api --clean openapi.yaml"
    
  2. Build the project.

    go build git.itzana.me/strafesnet/maps-service
    

    By default, the project opens at localhost:8080.

How to generate rust api from this directory

openapi-generator-cli generate -g rust -i openapi.yaml -o validation/api`

License

Licensed under MIT license.
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in this project by you, shall be licensed as above, without any additional terms or conditions.