Giter Site home page Giter Site logo

akshay-singh-rajput / mern-stack-url-shortener Goto Github PK

View Code? Open in Web Editor NEW
3.0 1.0 0.0 275 KB

You can generate a short url, by giving your long url

Home Page: https://lightlink.vercel.app/

HTML 4.40% CSS 6.84% JavaScript 88.76%
chakra-ui url-shortener express expressjs heroku mongodb nodejs react

mern-stack-url-shortener's Introduction

URL Shortener Web Application

Description

URL Shortener Web Application is a user-friendly web-based tool that allows users to create shortened versions of long URLs, making them easier to share. This project is built using the MERN stack (MongoDB, Express, React, Node.js) and styled with Chakra UI for a visually appealing and responsive user interface.

Features

  • Shorten URLs: Convert long URLs into shortened versions with a single click.
  • Custom Short URLs (Optional): Create personalized and memorable links for your URLs.
  • Copy to Clipboard: Copy the shortened URL to the clipboard for easy sharing.
  • User-friendly Interface: Intuitive and responsive UI design for a seamless user experience.

Demo

URL Shortener Demo

Live Demo

Try out the live demo of the URL Shortener Web Application here.

Installation

To run the URL Shortener Web Application locally, follow these steps:

  1. Clone the repository:

  2. Install dependencies for both frontend and backend:

cd server npm install cd client npm install

  1. Set up environment variables:
  • Create a .env file in the root directory and add the following:
    MONGODB_URI=your-mongodb-uri
    PORT=your-port-number
    
  1. Start the development server:

-Server npm start -Client npm run dev

The URL Shortener Web Application will be running on http://localhost:your-port-number.

Usage

  1. Access the application at http://localhost:your-port-number in your web browser.
  2. Enter the long URL you want to shorten in the input field.
  3. Optionally, you can provide a custom short URL code for the link.
  4. Click the "Shorten URL" button to generate the shortened version.
  5. The shortened URL will be displayed in the output field, and it will be automatically copied to your clipboard for easy sharing.

Technologies Used

  • Frontend:

  • React

  • Chakra UI

  • React Router

  • Axios

  • Backend:

  • Node.js

  • Express

  • MongoDB (via Mongoose)

Deployment

Contributing

Contributions are welcome! If you find any bugs or have suggestions for improvements, please create a new issue or submit a pull request.

Contact

For any inquiries or questions, feel free to reach out via email or connect with me on LinkedIn.

mern-stack-url-shortener's People

Contributors

akshay-singh-rajput avatar

Stargazers

SAI MOHAN REDDY avatar Bhadriraju Venkata Naga Sameera Diwakar avatar Jayant Verma avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.