Skip to content

Latest commit

 

History

History
26 lines (15 loc) · 877 Bytes

README.md

File metadata and controls

26 lines (15 loc) · 877 Bytes

Simple url shortener built with cloudflare worker-rust template

Deploy to Cloudflare Workers

Template

https://github.com/cloudflare/workers-sdk/templates/experimental/worker-rust

Wrangler

Wrangler is used to develop, deploy, and configure your Worker via CLI.

Further documentation for Wrangler can be found here.

Usage

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

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

Read the latest worker crate documentation here: https://docs.rs/worker