๐Ÿ”— URL Shortener with LibSQL

๐Ÿ“‹ API Endpoints:

๐Ÿ”— Shorten URL

POST /shorten

curl -X POST http://localhost:5000/shorten      -H "Content-Type: application/json"      -d '{"url": "https://example.com"}'

๐Ÿ”„ Redirect

GET /<code> - Redirect to original URL

๐Ÿ“Š URL Information

GET /info/<code> - Get URL details and statistics

๐Ÿ“ˆ Statistics

GET /stats - Get overall statistics

๐Ÿ•’ Recent URLs

GET /recent - Get recently created URLs

โšก Features: