A modern URL shortener service with a full-featured API and a React management dashboard.
- Frontend: React 19, Vite, TailwindCSS 4, Phosphor Icons.
- Backend: Fastify, Drizzle ORM, PostgreSQL, Zod, Swagger.
- Infrastructure: Bun, Docker, Cloudflare R2 (S3).
Create a .env file in the root based on .env.example and fill in your credentials:
cp .env.example .envStart the database and server using Docker:
cd server && docker compose up -dBuild and preview the React application:
cd web && bun i && bun run build && bun run preview- Frontend: http://localhost:5173/
- API Docs: http://localhost:3333/docs