https://github.com/davidbarton/shortener-fresh
https://github.com/davidbarton/shortener-fresh
Last synced: 10 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/davidbarton/shortener-fresh
- Owner: davidbarton
- License: mit
- Created: 2024-03-18T08:18:28.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2024-03-18T08:24:43.000Z (about 2 years ago)
- Last Synced: 2025-07-31T23:28:39.274Z (10 months ago)
- Language: TypeScript
- Size: 20.5 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# shortener
- Encode all urls with https://deno.land/x/encodeurl@1.0.0
- Use sqlite with https://github.com/WiseLibs/better-sqlite3
- Follow rest methods https://www.restapitutorial.com/lessons/httpmethods.html
- Use API keys for both programmatic and UI access https://stackoverflow.blog/2021/10/06/best-practices-for-authentication-and-authorization-for-rest-apis/#h2-991019808a680
- Consider base36 for url https://stackoverflow.com/a/1562793
- Deploy to FLy.io https://fly.io/docs/app-guides/continuous-deployment-with-github-actions/