Final Project: URL Shortener
Time to put it all together. Build a URL shortener API with:
Requirements
POST /api/links, accepts a long URL, returns a short code.GET /:code, redirects to the original URL.GET /api/links/:code/stats, visit count and creation date.- Persist links in PostgreSQL.
- Validate URLs and handle unknown codes with a 404.
Stretch goals
- Rate limiting
- Custom short codes
- Expiring links
Submit your repository link below when you are done, an instructor will review it before you can mark this lesson complete. Good luck! 🚀