No description
| src | ||
| .gitignore | ||
| Cargo.lock | ||
| Cargo.toml | ||
| config.json | ||
| README.md | ||
| users.tsv | ||
StormChat Backend
This is a configurable, (kind of) secure, and fast server for use with the StormClient frontend. WIP, most configuration settings actually do nothing.
Hosting
If you want to host this yourself, you'll need to have Rust and Cargo installed if they aren't already: rustup.rs Then:
- Clone this repo with
git clone https://codeberg.org/stormyyy/stormchat-backend.git cd stormchat-backendcargo run --release
This will only be accessible over the internet if you use a reverse proxy like Caddy, or port forward the port you have configured.
Configuration
Modify whatever values you want in config.json, then start the server.
Response Codes
StormChat has its own response codes for various purposes:
RESPONSE_LOGIN_SUCCESS: Successful Login
RESPONSE_LOGIN_FAIL: Failed Login
RESPONSE_REGISTRATION_SUCCESS: Successful Registration
RESPONSE_REGISTRATION_FAIL: Failed Registration