Skip to content

MrSheerluck/openshort

Repository files navigation

OpenShort - URL Shortener

Full-stack URL shortener with analytics.

Project Structure

openshort/
├── apps/
│   ├── web/          # Next.js frontend (TypeScript, Bun)
│   └── api/          # FastAPI backend (Python, uv)
└── packages/         # Shared packages

Tech Stack

Frontend

  • Next.js 15 - React framework
  • TypeScript - Type safety
  • Bun - Package manager & runtime
  • Tailwind CSS - Styling

Backend

  • FastAPI - Modern Python API framework
  • PostgreSQL - Database
  • SQLAlchemy - ORM
  • Alembic - Migrations
  • uv - Python package manager

Getting Started

Prerequisites

  • Node.js 18+
  • Bun
  • Python 3.12+
  • uv
  • Docker & Docker Compose

Frontend Setup

cd apps/web
bun install
bun dev

Backend Setup

cd apps/api
uv sync
docker-compose up -d
uv run alembic upgrade head
uv run uvicorn app.main:app --reload

Documentation

API Endpoints

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published