Skip to content

Naz1804/url_shortening_shortly

Repository files navigation

Shortly

To use Shortly, simply paste the long URL you want to shorten into the input field on the landing page. Then, click on the "Shorten it" button. Shortly will then generate a shorter, more memorable link for you. You can then share this link with others.

Technologies

  • Vite
  • React
  • JavaScript
  • Tailwind CSS
  • HTML
  • API

Installation

First thing first is you need node.js installed. USe this Link to be sent to the node.js downloads.

  1. Then you can clone the code locally by copying the HTTPS from the <> Code button.

image

  1. Open a terminal window or open your code editor that you can open up a terminal.
  2. Navigate to the directory where you want to clone the repository.
  3. Then type git clone paste the HTTPS after that.
git clone https://github.com/Naz1804/url_shortening_shortly.git

To install the dependencies, run the following command in your terminal:

npm install

Then:

npm run dev

Next you will see this:

image

You have two options to either ctrl + click on the http://localhost:5173/ or press o to open up the localhost.

You can always press h to see what more commands they are.

Then you should have the project running !!

API

To know more about the API go on this API documentation link. Also go to src then api.js and you will see how I added the api.