Skip to content

Shorten - A high-performance URL shortener that generates 8-bit short links with fast redirection, analytics, and custom alias support. A Node.js backend-powered project.

Notifications You must be signed in to change notification settings

abhishekprajapatt/Shorten

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Shorten - A high-performance URL shortener

Shorten is a high-performance URL shortener that generates 8-bit short links with fast redirection, analytics, and custom alias support.

Features

  • Custom Branded Links: Personalize short links with your brand.
  • Analytics Dashboard: Track engagement, clicks, and user behavior.
  • No Cookies Required: Get insights without tracking users invasively.
  • Seamless Integration: Use API for automated link generation.
  • Secure & Fast: Reliable and efficient link redirection.

Tech Stack

  • Frontend: React.js / Next.js
  • Backend: Express.js
  • Database: MongoDB / PostgreSQL
  • Authentication: JWT / OAuth
  • Hosting: Vercel / AWS / DigitalOcean

Installation

  1. Clone the repository:
    git clone https://github.com/yourusername/shorten.git
    cd shorten
  2. Install dependencies:
    npm install
  3. Set up environment variables in a .env file:
    DATABASE_URL=your_database_url
    JWT_SECRET=your_secret_key
  4. Run the development server:
    npm start

Usage

  1. Enter a long URL and generate a short link.
  2. Share the short link with your audience.
  3. Track engagement and performance from the analytics dashboard.

API Endpoints

  • POST /shorten - Create a short link.
  • GET /:shortCode - Redirect to the original URL.
  • GET /stats/:shortCode - Get analytics data.

Contributing

Feel free to contribute! Fork the repo, create a branch, and submit a PR.

License

This project is licensed under the MIT License.

About

Shorten - A high-performance URL shortener that generates 8-bit short links with fast redirection, analytics, and custom alias support. A Node.js backend-powered project.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published