switch to bun and add CI, license and readme
Some checks failed
Build friends-api / build-and-push (push) Failing after 1s

This commit is contained in:
red binder 2026-08-09 02:15:51 +02:00
commit 62b64ca706
7 changed files with 913 additions and 1020 deletions

8
README.md Normal file
View file

@ -0,0 +1,8 @@
# 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.