Skip to content

Latest commit

 

History

History
47 lines (37 loc) · 1.68 KB

Readme.md

File metadata and controls

47 lines (37 loc) · 1.68 KB

URL Shortener App

Introduction

This is a web application for shortening URLs, created using ReactJS, NodeJS, ExpressJS, and MongoDB. The app allows users to enter a long URL, which is then shortened to a much shorter URL that can be easily shared. The shortened URL is redirectable to the original long URL. The app is live and can be accessed at the provided URL.


Features

The app has the following features:

  1. URL shortening: Users can enter a long URL and get a shortened URL that can be easily shared.
  2. Redirects: The shortened URL redirects to the original long URL.

Technologies

The app is built using the following technologies:

  • ReactJS: A JavaScript library for building user interfaces.
  • NodeJS: A JavaScript runtime for building server-side applications.
  • ExpressJS: A lightweight framework for building web applications.
  • MongoDB: A document-oriented NoSQL database.

Project Installation Process:

  • Star this repo to support my work and Fork the repo to create your own copy to work from.
  • Clone the repo using cammand:
  • Move to server directory:
    • cd server
  • To install dependencies run the cammand:
    • npm install
  • Now go to .env file and paste your MongoDB.
  • Start the server using command:
    • npm run dev
  • Now move to client folder:
    • cd ../client
  • start the react app using command:
    • npm start

Usage

To use the app, follow these steps:

  1. Enter a long URL in the input field and click the "Shorten" button.
  2. Copy the shortened URL and share it with others.
  3. To view analytics data for a shortened URL, click the "Analytics" button next to the URL in the list.