Skip to content

Kasun002/url-short

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 

Repository files navigation

URL Shortener

Description

This is a simple application to convert long URL in to short format.When you enter any url in to input box and click short button it will convert url in to short format starting prefix with https://sho.rt/. If you click on that URl it will redirect original URL.Checking the url format from the client side as well as server side.

Pre request

Install mongo DB

Setup server (use node express)

  • Clone the project using this link (https://github.com/Kasun002/URL.git)
  • Navigate server folder cloned project using cd server/
  • run command npm install
  • run command npm run watch
  • Now server is running on port 3010

Setup Front-End (use react JS)

  • Navigate client folder already cloned project using cd client/
  • run command npm install
  • run command npm run start
  • Now front end is running on port 3000
  • Open in browser http://localhost:3000

Server test

  • Navigate server folder cloned project using cd server/
  • run command npm run test-watch

Client test

  • Navigate client folder cloned project using cd client/
  • run command npm run test

Screen Shot

ScreenShot

Screen record

Screen.Recording.2023-01-24.at.10.44.34.AM.mov

About

Convert URL to shorter Format

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published