Skip to content

sergiocarneiro/edgedb-hono-cloudflare-workers

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Relevant Files

Setup

  • npm install
  • edgedb project init — (cannot be a local instance due to a temporary bug from Cloudflare Workers)
  • Configure .dev.vars — (see below)

.dev.vars

EDGEDB_INSTANCE = "<username>/<name>"
EDGEDB_SECRET_KEY = "<secret key>"

Development

  • npm run generate
  • npm run dev

Deployment

  • npx wrangler secret put EDGEDB_INSTANCE
  • npx wrangler secret put EDGEDB_SECRET_KEY
  • npm run deploy

References

About

An example of using EdgeDB + Hono + Cloudflare Workers

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published