rhpidfyre 1a5f58a3b1 map page now builds and heavily refactored
+ Handle no commenters by displaying the message "There are no commenters."
+ Text fallback: "Fetching map image..."
+ Handle the validation status message (still has no css coloring for 80% of the statuses)
- Disable the roblox api for fetching the asset image and avatar headshot images, but keep the module
2024-12-10 03:54:19 -05:00
2024-11-26 18:30:58 -05:00
2024-11-26 18:30:58 -05:00
2024-12-09 22:27:52 -08:00
Refactor 😮‍💨
2024-11-26 18:28:48 -05:00
2024-11-26 18:30:58 -05:00
2024-12-09 18:16:07 -08:00
2024-12-09 22:27:52 -08: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 dev

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