Skip to content

GovardhaneNitin/url-shortener

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

URL Shortener 🌐

Welcome to the URL Shortener project! Create shortened links quickly and efficiently using Node.js, Express.js, and MongoDB.

Preview

URL-Shortener

URL-Shortener-DB

Features ✨

  • Shorten URLs: Easily generate short and shareable links.
  • Fast Redirection: Redirects users to the original long URL seamlessly.
  • Node.js and Express.js: Backend powered by Node.js with Express.js for smooth routing.
  • MongoDB Database: Utilizing MongoDB to store and retrieve URL data.
  • Simple and Intuitive UI: User-friendly interface for a straightforward experience.

Technologies Used 💻

  • Node.js: Backend server scripting.
  • Express.js: Web application framework for Node.js.
  • MongoDB: NoSQL database for storing URL data.

Getting Started 🚀

  1. Clone the repository:

    git clone https://github.com/your-username/url-shortener.git
  2. Navigate to the project directory:

    cd url-shortener
  3. Install dependencies:

    npm install
  4. Set up MongoDB:

    • Create a MongoDB database and update connection details in config.js.
  5. Run the server:

    npm start
  6. Open your browser and visit:

    http://localhost:3000

Configuration 🔧

  • Update MongoDB connection details in config.js to match your database setup.

API Endpoints 🛣️

  • Shorten URL:
    POST /api/shorten

Releases

No releases published

Packages

No packages published