Skip to content

A simple yet powerful URL shortening service that allows users to transform long URLs into short, shareable links. Along with URL shortening, this service provides insightful analytics, giving users the ability to track and monitor their shortened URLs' performance.

Notifications You must be signed in to change notification settings

gautamkaran/URL-Shortener-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🔗 URL Shortener APIs

A simple yet powerful URL shortening service that allows users to transform long URLs into short, shareable links. Along with URL shortening, this service provides insightful analytics, giving users the ability to track and monitor their shortened URLs' performance.


🚀 Features

1. URL Shortening ✂️

Submit any long URL, and instantly receive a shorter, easy-to-share URL in return.

2. Redirection to Original URL 🔁

When a shortened URL is accessed, users will be redirected seamlessly to the original long URL.

3. Analytics 📊

Monitor the performance of your shortened URLs:

  • Track the total number of clicks for each shortened URL.

🛠️ Installation

To get started with the URL Shortener Service locally, follow these steps:

  1. Clone the Repository

    git clone https://github.com/GautamKaran/URL-Shortener-api.git
    cd url-shortener-
  2. Install Dependencies

    npm install
  3. Environment Variables To run this project, you will need to add the following environment variables to your .env file

     PORT=3000
    
     MONGODB_URI=mongodb+srv://your-username:your-password@cluster0.lxl3fsq.mongodb.net
    
     CORS_ORIGIN=*
  4. Run the Application

    npm run dev
  5. Access the Service: Open your browser and navigate to http://localhost:8000


USE

image image image

🛠 Skills

Javascript, Node.js, Express.js, MongoDB...

Authors

About

A simple yet powerful URL shortening service that allows users to transform long URLs into short, shareable links. Along with URL shortening, this service provides insightful analytics, giving users the ability to track and monitor their shortened URLs' performance.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published