/urlshortener

A simple URL shortener web application using Node.js, Express.js, MongoDB, and EJS.

Primary LanguageEJS

URL Shortener

A simple URL shortener web application using Node.js, Express.js, MongoDB, and EJS.

Table of Contents

Overview

This project is a URL shortener that allows users to generate shortened URLs for long links. It uses Node.js and Express.js for the server-side logic, MongoDB as the database, and EJS as the template engine for rendering HTML.

Features

  • Shorten long URLs to more manageable and shareable links.
  • Track the number of clicks for each shortened URL.
  • View a list of all shortened URLs.

Prerequisites

Before you begin, ensure you have met the following requirements:

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

Installation

  1. Clone the repository:

    git clone https://github.com/bnaveenbharathi/urlshortener

2.Run the Project

npm install
nodemon server