mirror of
https://github.com/BryleBaligad/BASS
synced 2026-10-09 21:19:35 +08:00
No description
- TypeScript 43.5%
- HTML 35.7%
- JavaScript 18.5%
- CSS 2.3%
| backend | ||
| frontend | ||
| reference | ||
| .gitignore | ||
| .prototools | ||
| bass.ts | ||
| log.ts | ||
| nodemon.json | ||
| package.json | ||
| README.md | ||
| Singleton.ts | ||
| tsconfig.json | ||
| version.txt | ||
BryleBaligad Account SyStem (BASS)
This account system replaces the older BryleBaligad Account with more features, more security, and a more organised codebase.
How to run
- Clone this repository
- Install
bun.sh>= 0.4.1,nodejs>= 16, andnpm>= 8 - Create pem keypair with the following command:
openssl genrsa -out private_key.pem 4096; openssl rsa -in private_key.pem -outform PEM -pubout -out public_key.pem
- Place in
./backend/cryptography/keys - Add SMTP2GO credentials in
.envasSMTP2GOUSER=#andSMTP2GOPASS=# - Run
bun bass.ts. The server will run on port 3000
Environment Variables
| KV Pair | Description |
|---|---|
PORT = # |
Port (3000 default) |
STAGING = TRUE|FALSE |
Enables staging mode |
SMTP2GOUSER = # |
SMTP2GO username |
SMTP2GOPASS = # |
SMTP2GO password |
DEBUGUSERS = "Username1,Username2" |
Enables debug mode for comma-separated users |
NODE_PATH = /path/to/node |
Path to node for sending email notifications |