A cloud-hosted URL Shortener built using Java Servlets, JSP, JDBC, PostgreSQL, Docker, and Render. The application generates unique short URLs, redirects users to original URLs, tracks click counts, and stores data in a cloud PostgreSQL database.
- Generate unique short URLs for long links
- Automatic redirection to original URLs
- Duplicate URL detection
- Click count tracking and analytics
- Cloud-hosted PostgreSQL database using Neon
- Dockerized deployment
- Publicly accessible through Render
- MVC-based architecture using Servlets and JSP
- Java
- Servlets
- JSP
- JDBC
- PostgreSQL (Neon)
- Docker
- Render
- MVC (Model-View-Controller)
URL Shortener ├── Controller (Servlets) ├── Model (Java Classes) ├── DAO Layer (JDBC) ├── Views (JSP Pages) ├── PostgreSQL Database └── Docker Configuration
Users can submit long URLs and receive a unique short URL.
The system automatically redirects users from the short URL to the original destination.
Existing URLs are identified and reused instead of generating unnecessary duplicates.
Tracks the number of visits for each shortened URL.
Uses Neon PostgreSQL for persistent cloud storage.
Application is packaged using Docker and deployed on Render.
Live Application: (https://url-shortener-java-c3ge.onrender.com/)
- User Authentication
- URL Expiration
- Custom Short Codes
- QR Code Generation
- Dashboard Analytics
- REST API Support
- Redis Caching for Faster Redirects
- Java Web Development using Servlets and JSP
- JDBC Database Connectivity
- PostgreSQL Cloud Database Integration
- Docker Containerization
- Cloud Deployment using Render
- MVC Architecture Design
- Environment Variable Configuration
- Production Deployment Workflow
Soumya Ramchandran