friends-api/README.md
red binder 62b64ca706
Some checks failed
Build friends-api / build-and-push (push) Failing after 1s
switch to bun and add CI, license and readme
2026-08-09 02:15:51 +02:00

8 lines
No EOL
410 B
Markdown

# Spacebar Friends API
## Setup
If you're running selfhosted, make sure to change the server URL in index.js from `account.spbr.net` to your own.
### Environment Variables
`PORT` - Obvious. The port the server listens on.
`DATABASE_URL` - Set this to the database URL of the RNEX friends server.
`SERVER_STATIC_TOKEN` - The token you will put in the `RNEX_PRESENCE_SERVER_SECRET` environment variable on RNEX.