Skip to content

Latest commit

 

History

3 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 

Repository files navigation

ShortCash - Premium URL Shortener

ShortCash is a full-stack, premium URL shortening service built with modern technologies. It allows users to transform long links into short, memorable ones while providing features like link monetization, detailed analytics, and a premium ad-free experience.

🚀 Features

  • Quick Shortening: Instantly shorten any long URL.
  • User Dashboard: Manage all your shortened links in one place.
  • Analytics: Track clicks, geographic data, and performance metrics for your links.
  • Monetization: Earn rewards for link traffic with built-in ad integration.
  • Premium Plan: Offer an ad-free experience and custom branded links.
  • Secure Architecture: Link safety checks and robust authentication.
  • Responsive Design: Beautiful, modern UI that works on all devices.

🛠 Tech Stack

Frontend (/web-app)

Backend (/backend)

📁 Project Structure

.
├── backend/            # NestJS API & Prisma Schema
└── web-app/            # Next.js Frontend

🏁 Getting Started

Prerequisites

  • Node.js (v18 or higher)
  • npm or yarn
  • A PostgreSQL database (for Prisma)

Installation

  1. Clone the repository

    git clone https://github.com/parthadevs/url-shortener.git
    cd url-shortener
  2. Setup Backend

    cd backend
    npm install
    # Create .env file and add your DATABASE_URL and JWT_SECRET
    npx prisma migrate dev
    npm run start:dev
  3. Setup Frontend

    cd ../web-app
    npm install
    # Create .env.local and add NEXT_PUBLIC_API_URL and NEXTAUTH_SECRET
    npm run dev

🧪 Development

Running Locally

You can run both services simultaneously in separate terminals:

  • Backend: npm run start:dev (runs on port 3001 by default)
  • Frontend: npm run dev (runs on port 3000)

📄 License

This project is UNLICENSED.


Built with ❤️ by the ShortCash Team.

About

ShortCash is a full-stack, premium URL shortening service built with modern technologies. It allows users to transform long links into short, memorable ones while providing features like link monetization, detailed analytics, and a premium ad-free experience.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages