A simple and efficient backend API built with Node.js and Express.js to shorten URLs and manage redirections. This backend supports custom aliases, automatic code generation, and API-based interaction for integration with frontend clients.
- β Shortens long URLs into compact, shareable short URLs
- β Allows custom short codes (aliases)
- β Handles redirection from short URL to original
- β Stores URLs in MongoDB with creation timestamp
- β Edge case handling: duplicates, invalid URLs, empty input
- β Tested using Postman for all API endpoints
- β Easily deployable on Render (CI/CD integrated with GitHub)
Category | Tools/Technologies |
---|---|
Language | JavaScript (Node.js) |
Framework | Express.js |
Database | MongoDB with Mongoose |
Testing | Postman (manual API testing) |
Tools | Git, GitHub, Render, dotenv |
Deployment | Render (CI/CD from GitHub) |