Simple link shortener that takes URL from the user and gives him a short link to share.
It's a front-end app and the user's URL and its shortcut are saved in the firebase realtime database. the app has a simple router to act like a SPA.
You can reach its live version by following the link aqsar.link.
- User enters the long URL that he wants shorter
- The app check for URL validity
- If the URL is valid the app generates its ID and search for it in the database to check its uniqueness
- If ID is unique, the app adds it to the database and inform the user
- User can copy it and share it as he wants
- The app stores previous URLs to localStorage and retrieves them next time the user uses the app
Aqsar.Link doesn't require a special environment to be used in. The only need is to have a live server that can redirect all requests to index.html, and I recommend live-server.
npm install -g live-server
live-server --port=8080 --entry-file=./index.html
I don't know what to write in here but it seems cool to have a licence section in the readme file 🚶♂️