fixiple / shortner

shortner is a link shortner created with vueJS version 3 using the Bitly API.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

shortner

linkshortener_vueJSfinalcompressed

here's a gif image of the website 😊

It was created at the beginning of february 2023 and finished by end of february 2023.

prerequisites

You will need an bitly API key and an Account to get a key.

accessToken: "<your API Key here>",

Refer to the bitly website for more informations:

Features

In case everything turns out great it will return a shortnered Link

If something went wrong, it will return some error in one of those conditions:

  • input error, if empty
  • input error, if wrong link format
  • API error, if wrong API key or API related error in the bitly account

In case of an API Error, please refer to the Bitly API Doc

Improvement tracks

change the ReGeX so that it only validates the links in the following form:

 https://www.youtube.com/
 https://bitly.com/
 https://www.indeed.com/

And NOT in this form:

 http://localhost:8080/
 http://local.host/
 http://example.Kappa/

Project setup

npm install

Compiles and hot-reloads for development

npm run serve

Compiles and minifies for production

npm run build

About

shortner is a link shortner created with vueJS version 3 using the Bitly API.


Languages

Language:Vue 93.5%Language:HTML 5.6%Language:JavaScript 0.8%