This project was created using npm create cloudflare@2
. It uses the wrangler
cli tool to manage the project.
To start the server, run npm start
. This starts a local development server.
Run the unit tests via node. They also showcase the worker in action. See url-shortener.spec.ts
for more details.
Use buf
to generate the compiled protos via Protobuf-ES and Connect.
Deploys the worker to Cloudflare. This requires wrangler.toml
file with the appropriate credentials.