Skip to content

This is a full-stack URL shortener project built using the MERN stack (MongoDB, Express.js, Next.js, and Node.js). The project allows users to shorten long URLs into more manageable and shareable links. It provides a user-friendly interface for both shortening and redirecting URLs.

Notifications You must be signed in to change notification settings

MOHAMAD-ZUBI/mern-urlshortner

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 

Repository files navigation

URL Shortener - MERN Stack Project

Description

This is a full-stack URL shortener project built using the MERN stack (MongoDB, Express.js, Next.js, and Node.js). The project allows users to shorten long URLs into more manageable and shareable links. It provides a user-friendly interface for both shortening and redirecting URLs.

Features

  • Shorten URLs: Users can enter a long URL, and the application will generate a shortened URL.
  • Redirect: Users can use the shortened URL to redirect to the original long URL.
  • Database: MongoDB is used as the database to store the mapping between the shortened and original URLs.
  • Customizable: Users can create custom short URLs or allow the system to generate one.

Technologies Used

  • Frontend: Next.js, React, Axios
  • Backend: Node.js, Express.js, MongoDB
  • Styling: TailwindCSS
  • Deployment: LocalHost :D

Setup

  1. Clone the repository to your local machine.
  2. Install the required dependencies for both the frontend and backend.
  3. Set up your MongoDB database and configure the connection in the backend.
  4. Start the development servers for both the frontend and backend.

Usage

  1. Access the frontend application.
  2. Enter a long URL you want to shorten and submit it.
  3. The application will provide you with a shortened URL.
  4. Use the shortened URL to redirect to the original long URL.

Screenshots

home page

License

This project is open for everyone to use :).

About

This is a full-stack URL shortener project built using the MERN stack (MongoDB, Express.js, Next.js, and Node.js). The project allows users to shorten long URLs into more manageable and shareable links. It provides a user-friendly interface for both shortening and redirecting URLs.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published