Skip to content

Klrfl/url-shortener

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

68 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

url-shortener

This is a simple url shortener app made with Vue.

Fetch API

I used shrtcode's URL shortener API; you can read about here on the official docs. Before this I used Bitly's API, but their API has request limits. shrtcode's API was also simpler to fetch because it requires no authentication, so you just pass the URL there. with Bitly you have to pass in authentication and bearer tokens and whatnot, it's just more complicated.

By the way, as of January 2024 the API has stopped working for some unknown reason. As a result I have taken the hosted site down. I will probably set it up again if the API works again.

This project uses the MIT license.

Development

For the IDE i reccomend using VSCode with the Volar extension (and disable Vetur).

You are free to open a pull request or fork this project, as long as you contribute to this project in a positive way.

Customize configuration

See Vite Configuration Reference.

Project Setup

npm install

Compile and Hot-Reload for Development

npm run dev

Compile and Minify for Production

npm run build