Simple and scalable link shortener written in Go and React.
- TypeScript 70.9%
- Go 25.2%
- CSS 2.2%
- Dockerfile 1.2%
- JavaScript 0.3%
- Other 0.2%
| api | ||
| client-web | ||
| migrations | ||
| .gitignore | ||
| compose.yaml | ||
| LICENSE | ||
| README.md | ||
URL shortener 🔗
Simple, modular and scalable URL link shortener created with Go and React.
Architecture
The application consists of three main components:
- Frontend — A minimal React client built with TanStack Start, Tailwind CSS, and shadcn/ui.
- API — A stateless REST API written in Go for creating, managing, and redirecting short links.
- Storage — PostgreSQL is used for persistent storage, with Valkey providing a caching layer for frequently accessed links.
Features
- 🔗 Create and manage short URLs
- 🚀 Fast redirects with Valkey caching
- 📦 Stateless Go REST API
- ⚛️ Minimal React frontend
- 🐳 Containerized with Docker
- ☸️ Ready for Kubernetes deployments
- 🧩 Modular architecture designed to scale horizontally