Skip to content

An URL shortener is a website that reduces the length of your URL (Uniform Resource Locator). The idea is to minimize the web page address into something that's easier to remember and track.

Notifications You must be signed in to change notification settings

vrun545/URL-Shortner

Repository files navigation

URL Shortner

An URL shortener is a website that reduces the length of your URL (Uniform Resource Locator). The idea is to minimize the web page address into something that's easier to remember and track.

ExpressJS Node.js Project with MongoDB and JWT Authentication

Overview

This project is a robust URL shortener built with Express.js and Node.js, backed by MongoDB for data storage. The application adheres to the MVC (Model-View-Controller) architectural pattern for a clean and organized codebase. User authentication is implemented using JWT (JSON Web Token) for secure access to the shortened URL management features.

Sample Images of Project

Screenshot (230)

Screenshot (231)

Features

  • URL Shortening: Easily create short URLs for long web addresses.
  • MVC Architecture: Structured codebase following the MVC design pattern for maintainability and scalability.
  • User Authentication: Secure user access with JWT authentication.

Technologies Used

  • Express.js: A fast and minimalist web application framework for Node.js.
  • Node.js: A JavaScript runtime for server-side development.
  • MongoDB: A NoSQL database for efficient storage of URL data.
  • JWT: JSON Web Tokens for secure and stateless user authentication.

Getting Started

Prerequisites

  • Node.js and npm installed
  • MongoDB installed and running

Installation

  1. Clone the repository:

    git clone https://github.com/vrun545/url-shortener.git
    cd url-shortener
  2. Install dependencies:

    npm install

Usage

Start the application:

npm start

Visit http://localhost:8001 in your browser.

Contributing

If you'd like to contribute to this project, please follow the Contributing Guidelines.

License

This project is licensed under the MIT License.

About

An URL shortener is a website that reduces the length of your URL (Uniform Resource Locator). The idea is to minimize the web page address into something that's easier to remember and track.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages