An open API service indexing awesome lists of open source software.

https://github.com/davidbarton/shortener-fresh


https://github.com/davidbarton/shortener-fresh

Last synced: 10 months ago
JSON representation

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/