GithubHelp home page GithubHelp logo

abubalo / short.ly Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 977 KB

A full-stack URL shortening and link tracking tool built with Node.js and MongoDB. With Shortly, you can easily shorten long URLs and track clicks on your shortened links, making it ideal for social media campaigns, email marketing, and more. Hhighly customizable, easy to use, and secure, with features like password-protection.

Home Page: https://shortly-backend.vercel.app

License: MIT License

TypeScript 95.95% HTML 0.94% CSS 1.96% JavaScript 1.16%
express expressjs mongodb nodejs typescript

short.ly's Introduction

Short.ly

Demo

image

Description

This is a full-stack URL shortener web application built with Node.js, Express, MongoDB, and TypeScript. It allows users to create shortened versions of long URLs and track click analytics. Users can also customize the slug in the shortened URL and create an account to manage their URLs.

Features

  • Shorten long URLs with customizable slugs
  • Track click analytics for shortened URLs
  • User authentication and URL management
  • Password hashing for security
  • Rate limiting to prevent abuse
  • Custom error pages

Installation

  1. Clone this repository.
  2. Run npm install to install dependencies.
  3. Set up your MongoDB database and update the MONGODB_URI environment variable in .env.
  4. Run npm run dev to start the development server.

Usage

To create a shortened URL, simply enter a long URL into the input field on the homepage and click "Shorten". You can also optionally enter a custom slug to use for the shortened URL.

To view analytics for a shortened URL, navigate to the URL details page by clicking on the shortened URL in the user dashboard. Here you can see the number of clicks and other metrics for the URL, as well as generate a QR code for it.

To manage your URLs and view analytics, log in to your account and navigate to the user dashboard. Here you can view all your shortened URLs, search and filter them, and view detailed analytics for each one.

Acknowledgments

This project was inspired by Bitly and built with the help of the following libraries and tools:

  • Node.js
  • Express
  • MongoDB
  • Mongoose
  • TypeScript
  • Passport.js
  • Chart.js
  • qrcode
  • dotenv
  • Jest
  • ESLint
  • Prettier

License

MIT

short.ly's People

Contributors

abubalo 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.