Backend for 0xNotes, powered by Cloudflare Workers.
- Clone the repository
git clone [email protected]:get0xNotes/workers.git
- Run
cd workers && yarn
- Create a
.dev.vars
file 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":""}'
- Run
wrangler dev
MIT License