123bc8af473330e47ed3e3e2e8418ac35a87fce9
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
-
Run
go generateto 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" -
Build the project.
go build git.itzana.me/strafesnet/maps-serviceBy 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/"
cd webbun install
For development:
bun run dev
For production:
bun run buildbun run start(optionally start a node server)
Script Validation
Prerequisite: rust installed
cd validationcargo 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.
Languages
Go
40.1%
TypeScript
36.7%
Rust
22.2%
SCSS
0.6%
Makefile
0.2%
Other
0.1%