Internal map submission system written in golang. Much code copied from data-service.
Go to file
rhpidfyre a7e9dbb94d
All checks were successful
continuous-integration/drone/push Build is passing
web: fix up
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
2024-12-19 02:30:45 -05: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 submissions: normalize get from hash as list requests 2024-12-18 15:46:37 -08:00
validation submissions-api: v0.3.0 refactor 2024-12-18 19:12:06 -08:00
web web: fix up 2024-12-19 02:30:45 -05:00
.drone.yml Add drone ci 2024-12-14 02:14:19 -05:00
.gitignore Refactor 😮‍💨 2024-11-26 18:28:48 -05:00
compose.yaml docker: internal only + path copy 2024-12-17 20:08:14 -08:00
Containerfile Add drone ci 2024-12-14 02:14:19 -05:00
generate.go openapi: move internal functions to separate api spec 2024-12-15 00:07:01 -08: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
Makefile docker: rename stuff for no reason 2024-12-15 01:41:13 -08:00
openapi-internal.yaml openapi: normalize get policy from hash as list request 2024-12-18 15:06:42 -08:00
openapi.yaml openapi: normalize get policy from hash as list request 2024-12-18 15:06:42 -08:00
README.md Update readme for web 2024-12-11 18:36:47 -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

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

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.