Internal map submission system written in golang. Much code copied from data-service.
rhpidfyre
a7e9dbb94d
All checks were successful
continuous-integration/drone/push Build is passing
When possible you should not use inline styling and instead use SCSS files for following convention and keeping consistency, Grid is also a deprecated React component in Material UI You should also separate components that are client only to its own .tsx module rather than having it be mixed with components that aren't required for being client only |
||
---|---|---|
cmd/maps-service | ||
docs | ||
pkg | ||
validation | ||
web | ||
.drone.yml | ||
.gitignore | ||
compose.yaml | ||
Containerfile | ||
generate.go | ||
go.mod | ||
go.sum | ||
LICENSE | ||
Makefile | ||
openapi-internal.yaml | ||
openapi.yaml | ||
README.md |
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 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"
-
Build the project.
go build git.itzana.me/strafesnet/maps-service
By default, the project opens at
localhost:8080
.
Website
Prerequisite: bun installed
cd web
bun install
For development:
bun run dev
For production:
bun run build
bun run start
(optionally start a node server)
Script Validation
Prerequisite: rust installed
cd validation
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.