Skip to content

pratyusshh/URLShortner-2

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

URL Shortener

A lightweight and efficient URL shortening service built with Node.js, Express, MongoDB, and NanoID.
It allows users to generate short URLs for long links, redirect dynamically, and track visit history.


Features

  • Generate unique short URLs for any long URL.
  • Dynamic redirect to the original URL when visiting the short link.
  • Track visits with timestamps.
  • Simple REST API architecture.
  • Easy to extend with custom aliases, analytics dashboard, or QR code generation.

Tech Stack

  • Backend: Node.js, Express.js
  • Database: MongoDB (Mongoose)
  • Unique ID Generation: NanoID
  • Other: dotenv for environment variables, cors for cross-origin requests

Installation & Setup

  1. Clone the repository
git clone https://github.com/yourusername/url-shortener.git
cd url-shortener

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •