Skip to content

samyak1326/url-shortener

Repository files navigation

ShrinkURL

ShrinkURL is a simple and efficient URL shortener web application built using ReactJS and ShadCN UI for the frontend. The app allows users to input long URLs and receive a shortened version for easy sharing. It also tracks statistics related to the usage of shortened URLs.

Features

  • URL Shortening: Converts long Urls into shorter, more shareable links
  • User Authentication: Login and Signup functionality with form validation.
  • Dashboard: Logged-in users can view their shortened URLs, track click statistics, and create custom links.
  • Analytics: Track total clicks on each shortened link.
  • Customizable: Users can create custom short URLs.
  • Clean UI: Built using ShadCN UI components for a modern, responsive interface.

Tech Stack

  • Frontend: ReactJS
  • UI Components: ShadCN UI
  • Database: Supabase (Used for managing user data and URL stats)
  • State Management: React Context API for managing global states.
  • Styling: TailwindCSS for utility-first CSS.

Installation

To run this project locally, follow these steps:

  1. Clone the repository:
git clone https://github.com/your-username/url-shortener.git
cd url-shortener
  1. Install Dependencies
npm install
  1. Set Up environment variables:
    Create a .env file in the root directory with the following details (modify as per your requirements):
VITE_SUPABASE_KEY= <your-supabase-key>
VITE_SUPABASE_URL=<your-supabase-URL>

Screenshots

Homepage Homepage where users can shorten their long URLs

Login Page Login and Signup Page

Dashboard User dashboard displaying shortened URLs and click statistics

Create-New-Link Create New Link

New-Link-DashBoard Analytics page when Link is generated

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published