cloudflare / templates

A collection of starter templates and examples for Cloudflare Workers and Pages
https://cloudflareworkers.com
MIT License
1k stars 638 forks source link

Template - Demo use of Workers KV through a URL shortener #139

Closed choyiny closed 1 year ago

choyiny commented 1 year ago

A URL shortener is arguable the best use case to demonstrate the use of Workers KV. I made a simple one through Hono that allows users to create a shortened URL through an API call and get redirected when visiting a shortened link.

Hope this works out for extending the collection!

JacobMGEvans commented 1 year ago

If you are willing to move this over to https://github.com/cloudflare/workers-sdk/tree/main/templates/ for review, the team can discuss it from there 😄