Skip to content

Varun04-pixel/URL-shortener

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🔗 URL Shortener

A simple and efficient URL Shortener web application that converts long URLs into short, shareable links.

Live Demo

URL Shortener

Preview Screenshot

Features

  • Shorten long URLs instantly
  • Fast redirection to original URLs
  • Clean and minimal UI
  • Persistent storage
  • Deployed on Render

🛠️ Tech Stack

Frontend

  • HTML
  • CSS (Bootstrap)
  • JavaScript

Backend

  • Node.js
  • Express.js

Deployment

  • Render

📂 Project Structure

URL-shortener/
│── public/ # Frontend files
│── routes/ # API routes
│── models/ # Database model
│── server.js # Entry point
│── package.json

⚙️ Installation & Setup

Clone the repository

git clone https://github.com/Varun04-pixel/URL-shortener.git
cd URL-shortener

Install dependencies

npm install

Run the server

npm start

Server will run on:

http://localhost:3000

Create a .env file in the root directory:

PORT=3000
DB_pass = your_mongoDB_pass_key

About

A URL shortener built with Node.js and MongoDB that stores original URLs in a database and issues corresponding shortened links for convenient sharing and redirection.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors