{"success":true,"meta":{"author":"Rajat Surana","portfolio":"https://rajatsurana.is-a.dev","github":"https://github.com/rajatsurana19","self":"https://rajatsurana.is-a.dev/api/projects/url-shortener","allProjectsEndpoint":"https://rajatsurana.is-a.dev/api/projects"},"project":{"id":"url-shortener","slug":"url-shortener","title":"URL Shortener REST API","subtitle":"High-Performance Link Management Engine","category":"Full-Stack & Backend","tech":["Java","Spring Boot","MySQL","Hibernate","Redis","Spring Security","JWT","OAuth2"],"summary":"High-throughput URL shortening and redirection REST API achieving sub-45ms response times using Redis in-memory caching and relational persistence.","description":"Architected and delivered a robust link management backend during a 1-month internship at K. J. Somaiya Institute of Technology. Designed clean RESTful endpoints to generate, validate, track, and redirect short links. Secured access with Spring Security, JWT authentication, and OAuth2, persisting link metadata in MySQL via Hibernate ORM and implementing Redis cache warming and scheduled purge jobs.","features":["RESTful API design with comprehensive request validation and error handling","Sub-45ms redirection latency achieved through Redis in-memory caching","Authentication and authorization secured with Spring Security, JWT, and OAuth2","Relational data persistence and mapping using Hibernate ORM and MySQL","Automated cleanup of expired links using Spring Scheduled cron jobs"],"contributions":["Engineered URL encoding algorithms generating collision-resistant unique tokens","Implemented cache-aside strategy with Redis to offload 90%+ read traffic from MySQL","Designed database schema with indexing on slug lookups for fast retrieval"],"metrics":["45 ms redirect latency","JWT & OAuth2 secured","100% REST compliant"],"links":{"github":"https://github.com/rajatsurana19/UrlShortener","live":null,"apiEndpoint":"https://rajatsurana.is-a.dev/api/projects/url-shortener"},"image":"/project/urlshortener.svg","highlight":true,"featured":true}}