Skip to content

ddkang1/link-shortener

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Link Shortener

URL shortening service with FastAPI + SQLite backend and HTML/JS frontend.

Features

  • POST /shorten — Submit a URL, get a short code back
  • GET /{short_code} — 302 redirect to the original URL
  • GET /stats/{short_code} — Click count and creation timestamp
  • Web UI — Form to shorten URLs and look up stats

Tech Stack

  • FastAPI + Uvicorn
  • SQLAlchemy + SQLite
  • Vanilla HTML/CSS/JS frontend
  • pytest test suite

Quick Start

pip install -r requirements.txt
uvicorn app.main:app --reload

About

URL shortener service with FastAPI + SQLite backend and HTML/JS frontend

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors