Skip to content

Sulton88Mehron90/url-shortener-ui

 
 

Repository files navigation

URL Shortener UI

This application provides a user interface for a URL shortening service, similar to bitly. It allows users to input a lengthy link and receive a shorter version which redirects to the original URL.

Features

  • Input and Shorten: Users can input a long URL and obtain a shortened version.
  • Display Shortened URLs: Displays a list of all the shortened URLs generated by the user.
  • Backend Integration: Works in conjunction with a back-end API for the actual URL shortening.

cartoon-parvin Live Demo

URL Shortener UI.

Setup

  1. Clone this repo.
  2. Run npm install to install the necessary dependencies.
  3. Start the development server using npm start.
  4. Ensure the back-end server is set up and running for managing and shortening URLs.

Development Iterations

  1. Display Existing URLs: Upon loading, the application fetches and showcases any pre-existing shortened URLs from the server.
  2. Generate New Shortened URLs: Users can submit new URLs for shortening. The freshly shortened URL is added to the list without requiring a page refresh.
  3. Cypress Testing: The application incorporates Cypress tests to ensure user interactions function as expected.

Additional Features

  • Error Handling: The app handles potential errors, such as server failures or incomplete form inputs.
  • URL Deletion: Users have the option to delete URLs from the list.

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 84.5%
  • HTML 10.7%
  • CSS 4.8%