Skip to content

shruti985/url-shortner

Repository files navigation

URL Shortener

A secure URL shortener application built with Node.js, Express.js, and MongoDB. Users can register, log in, and create shortened URLs with individual histories.

Features

  • User registration and authentication
  • Shorten long URLs to unique short codes
  • Track how many times each URL was used
  • View personal history of shortened URLs
  • Admin privilege to view all users' URLs
  • Clean frontend using HTML, CSS, JavaScript, and EJS templates

Technologies Used

  • Node.js
  • Express.js
  • MongoDB
  • Session-based authentication
  • EJS templating
  • HTML, CSS, JavaScript

Installation

  1. Clone the repository git clone https://github.com/shruti985/url-shortner.git

  2. Install dependencies npm install

  3. Start the server npm start

Usage

  • Register a new account or log in.
  • Create short URLs and track usage.
  • Access your personal URL history.
  • Admins can view all shortened URLs across users.

License

This project is licensed under the MIT License.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors