BitLinks
A full-stack URL shortener with custom aliases, dynamic redirects, and integrated contact workflow.
BitLinks is a modern full-stack URL shortening application built with Next.js, MongoDB, and Resend. Users can generate memorable short links using custom aliases, while the application validates duplicate aliases, stores mappings in MongoDB Atlas, and performs dynamic server-side redirects. The project also includes a secure contact form that persists messages to MongoDB and sends email notifications through Resend, demonstrating full-stack API development, database integration, and responsive UI design.
Challenges
- Implementing dynamic routing for seamless short URL redirection using the Next.js App Router.
- Preventing duplicate custom aliases while maintaining consistent database integrity.
- Designing reusable API routes for URL generation, validation, storage, and email handling.
- Integrating MongoDB Atlas and Resend into a secure server-side workflow.
Engineering decisions
- Used MongoDB Atlas with Mongoose to efficiently store and query URL mappings.
- Leveraged Next.js API Routes instead of a separate backend to simplify deployment and architecture.
- Integrated Resend for reliable transactional email delivery from the contact form.
- Deployed the application on Vercel for seamless CI/CD and production hosting.