Internal map submission system written in golang. Much code copied from data-service.
Go to file
2024-12-10 22:22:37 -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 implement some basic status codes for errors 2024-12-10 21:49:03 -08:00
validation validation: mtls is handled at a higher level 2024-12-10 21:25:53 -08:00
web explicitly specify the port for bun run start 2024-12-10 23:17:58 -05:00
.gitignore Refactor 😮‍💨 2024-11-26 18:28:48 -05:00
compose.yaml docker compose 2024-12-10 17:03:18 -08:00
Containerfile docker compose 2024-12-10 17:03:18 -08:00
generate.go Missing changes 2024-11-26 18:30:58 -05:00
go.mod nasty 2024-12-10 19:25:21 -08:00
go.sum nasty 2024-12-10 19:25:21 -08:00
LICENSE open source 2024-12-09 18:16:07 -08:00
openapi.yaml openapi: set http return code according to standard 2024-12-10 22:22:37 -08:00
README.md update README for web 2024-12-10 22:59:13 -05:00

STRAFES.NET Map Submission System

Components

  • Submissions API (golang) pkg/ cmd/
  • Website /web/
  • Script Validation (rust) validation/

How to Begin Development on Each Component

Submissions API

Prerequisite: golang installed

  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.

Website

Prerequisite: bun installed

  1. cd web
  2. bun install
  3. bun run build
  4. bun run start

Script Validation

Prerequisite: rust installed

  1. cd validation
  2. cargo run --release

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.