2024-11-26 18:30:58 -05:00
2024-11-26 18:30:58 -05:00
2025-03-28 18:26:59 -04:00
2025-03-23 19:13:36 -04:00
2025-03-18 12:37:20 -07:00
2025-03-28 15:56:47 -07:00
2025-03-18 12:37:20 -07:00
2024-12-14 02:14:19 -05:00
2024-12-10 19:25:21 -08:00
2024-12-10 19:25:21 -08:00
2024-12-09 18:16:07 -08:00
2024-12-15 01:41:13 -08:00
2025-03-26 15:40:57 -07:00
2025-03-16 16:42:44 -04: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

The environment variable API_HOST will need to be set for the middleware. Example .env in web's root:

API_HOST="http://localhost:8082/v1/"
  1. cd web
  2. bun install

For development:

  1. bun run dev

For production:

  1. bun run build
  2. bun run start (optionally start a node server)

Script Validation

Prerequisite: rust installed

  1. cd validation
  2. cargo run --release

Environment Variables:

  • ROBLOX_GROUP_ID
  • RBXCOOKIE
  • API_HOST_INTERNAL
  • NATS_HOST

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.
Description
Internal map submission system written in golang. Much code copied from data-service.
Readme 4 MiB
Languages
Go 46.3%
Rust 28.5%
TypeScript 12.9%
SCSS 9.4%
Dockerfile 2.1%
Other 0.8%