Skip to content

brct-james/apricate

Repository files navigation

Apricate

Go-based server for a fantasy-themed capitalism simulator game set on a farm.

Documentation

Please visit the official docs. Contribute changes in the documentation repo.


Response Codes

See responses.go

Standards

Versioning Convention: major.minor.hotfix Routes should use kebab-case Json and code should use snake_case (go uses camelCase?)


Build & Run

Modify the volumes to your local environment in the docker-compose file you want to use, then run the appropriate run_dev.sh / start_live.sh script.

For the first run, ensure refreshAuthSecret in main.go is true. Make sure to set this to false for second run Now uses secrets.env

DEV Listens on port 50520 LIVE Listens on port 50250

redis-cli via redis-cli -p 6382 for DEV redis-cli via redis-cli -p 6383 for LIVE

FLUSHDB for each database (select #)

KEYS * to get all keys

JSON.GET <token> to get particular entry


Reference

Technical

Design

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages