A Socket.IO server that saves and relay notes.
- Clone the repository
git clone git@github.com:get0xNotes/socket.git - Run
cd socket && yarn - Create a
.envfile containing the following:
POSTGREST_ENDPOINT="https://pg.example.com/rest/v1"POSTGREST_APIKEY="A bearer token to access the endpoint"SERVER_JWK='{"alg":"EdDSA","kty":"OKP","crv":"Ed25519","x":"","d":""}'# Make sure to change the origin to your domain on productionORIGIN='*'- Run
yarn start
MIT License