switch to bun and add CI, license and readme
Some checks failed
Build friends-api / build-and-push (push) Failing after 1s
Some checks failed
Build friends-api / build-and-push (push) Failing after 1s
This commit is contained in:
parent
697a03b388
commit
62b64ca706
7 changed files with 913 additions and 1020 deletions
8
README.md
Normal file
8
README.md
Normal 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.
|
||||
Loading…
Reference in a new issue