Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

One-liner Deno Deploy example for URL Shortener #1108

Open
imcotton opened this issue Nov 2, 2024 · 0 comments
Open

One-liner Deno Deploy example for URL Shortener #1108

imcotton opened this issue Nov 2, 2024 · 0 comments

Comments

@imcotton
Copy link

imcotton commented Nov 2, 2024

I know that samples of Deno by Example all follows step-by-step guidance tone, but wouldn't be cool to have this URL Shortener Web App running on Deno Deploy with just one-liner below:

export { default } from 'jsr:@indirect/short'

You could even do this locally, only with some flags:

deno serve -N=esm.sh --unstable-kv jsr:@indirect/short

ref: https://jsr.io/@indirect/short

It uses Deno KV as storage; 100% JSR (i.e. npm free); 100% coverage

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant