There isn't a development documentation, so if you have any questions about how GameHub works feel free to create an issue.
Stack | Technology |
---|---|
Backend | FastAPI |
Frontend | TypeScript |
CSS | Tailwind |
Template Engine | Jinja2 |
Build | PostCSS and Webpack |
Node V16+ and Python 3.8+ are required.
$ git clone https://github.com/ZeroIntensity/gamehub && cd gamehub
$ yarn install && yarn build
$ python3 -m pip install -r requirements.txt
$ python3 main.py
Everything in src/config.py
can be changed by supplying an environment variable.
APPLY_WEBHOOK=https://discord.com/api/webhooks/...
REPORT_WEBHOOK=https://discord.com/api/webhooks/...
SUGGEST_WEBHOOK=https://discord.com/api/webhooks/...
JWT_ALGORITHM=HS256
JWT_SECRET=mysecret
Ease of use. I have yet to find a good library for ORM/DRM in Python, and Mongo is much easier to make one for.
Now, please do not make an issue saying something like "oh, just use [insert sql library]". These libraries are huge and have APIs that are awful to work with.