A backend project built with Node.js, Express, Drizzle ORM, and PostgreSQL.
It provides APIs to shorten URLs, update them, and manage authentication.
- Shorten URLs with optional custom short codes
- Update existing short codes and target URLs
- JWT-based authentication for secure access
- PostgreSQL database integration using Drizzle ORM
- Input validation using Zod
- Designed for scalability and easy extension
- Node.js – JavaScript runtime
- Express.js – Web framework
- Drizzle ORM – Database query builder & ORM
- PostgreSQL – Relational database
- Zod – Input validation
- nanoid – Unique short code generator
- JWT – User authentication
- Clone the repository
git clone https://github.com/RaiMuhammadHaider/url-shortener-backend.git