8000 GitHub - syedkazimm/shorturl: Powered by avante.nvim
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

syedkazimm/shorturl

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Short URL Service

A URL shortening service with analytics dashboard. Create short, memorable links that redirect to your long URLs. Track clicks and analyze performance with detailed analytics.

Features

  • URL Shortening: Transform long links into short, memorable URLs
  • Click Analytics: Track clicks, referrers, user agents, and more
  • User Dashboard: Manage all your shortened URLs in one place
  • Secure Authentication: User registration and login with JWT

Tech Stack

Backend

  • FastAPI
  • SQLAlchemy
  • JWT Authentication
  • SQLite (can be configured for PostgreSQL, MySQL)

Frontend

  • React
  • TypeScript
  • Tailwind CSS
  • React Query
  • Recharts for data visualization

Getting Started

Prerequisites

  • Python 3.7+
  • Node.js 14+
  • pnpm

Backend Setup

  1. Navigate to the backend directory:

    cd backend
  2. Create a virtual environment and activate it:

    python -m venv venv
    source venv/bin/activate  # On Windows, use: venv\Scripts\activate
  3. Install the requirements:

    pip install -r requirements.txt
  4. Create a .env file based on .env.example:

    cp .env.example .env
  5. Run the migrations:

    alembic upgrade head
  6. Start the backend server:

    python main.py

The backend will be available at http://localhost:8000

Frontend Setup

  1. Navigate to the frontend directory:

    cd frontend
  2. Install dependencies:

    pnpm install
  3. Start the development server:

    pnpm dev

The frontend will be available at http://localhost:5173

API Documentation

Once the backend is running, you can access the API documentation at:

License

This project is licensed under the MIT License - see the LICENSE file for details.

About

Powered by avante.nvim

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 69.8%
  • Python 25.4%
  • JavaScript 1.8%
  • CSS 1.7%
  • Other 1.3%
0