Skip to content
This repository was archived by the owner on May 17, 2023. It is now read-only.

Latest commit

 

History

History
17 lines (14 loc) · 509 Bytes

File metadata and controls

17 lines (14 loc) · 509 Bytes

0xNotes Worker

Backend for 0xNotes, powered by Cloudflare Workers.

Setting up development environment

  1. Clone the repository git clone git@github.com:get0xNotes/workers.git
  2. Run cd workers && yarn
  3. 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":""}'
  1. Run wrangler dev

License

MIT License