Skip to content

Cloudflare worker to respond to requests to api.ajr.dev

Notifications You must be signed in to change notification settings

arovge/api.ajr.dev

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

api.ajr.dev

Cloudflare worker to respond to requests to api.ajr.dev

Local dev

Make sure you follow the rust wasm guide and get the wrangler npm package installed:

Run the following command to start a local server:

# run your Worker in an ideal development workflow (with a local server, file watcher & more)
$ npm run dev

At time of writing, the following are broken for me:

  • Hot reloading on save (at least on M1 mac)
  • R2 usage locally

Deployment

Wrangler CLI will handle authenticating you with your cloudflare account. You just need to run:

# deploy your Worker globally to the Cloudflare network (update your wrangler.toml file for configuration)
$ npm run deploy

About

Cloudflare worker to respond to requests to api.ajr.dev

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages