https://github.com/tool3/tsiny
𐬺 the world's smallest url-shortener service
https://github.com/tool3/tsiny
express nodejs typescript url-shortener
Last synced: 2 months ago
JSON representation
𐬺 the world's smallest url-shortener service
- Host: GitHub
- URL: https://github.com/tool3/tsiny
- Owner: tool3
- License: mit
- Created: 2020-06-18T11:26:38.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2020-07-22T05:54:09.000Z (almost 6 years ago)
- Last Synced: 2025-03-21T13:54:10.709Z (about 1 year ago)
- Topics: express, nodejs, typescript, url-shortener
- Language: HTML
- Homepage: https://tsiny.netlify.app/
- Size: 282 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README

the world's smallest url-shortener service
# api
- `POST /shorten`
- body: `{ "url": "https://some.long.url.com" }`
- response: `{ "short_url": "https://tsiny.herokuapp.com/some_id" }`
- `POST /resolve`
- body: `{ "id": "some_id" }`
- response: `{ "url": "https://some.long.url.com" }`