This is a RESTful API built with Express.js for shortening and managing URLs.
It provides endpoints for generating, retrieving, and visiting short URLs.
POST /api/shorten
Creates a shortened URL from a long URL. Send a POST request with the original URL in the request body.
GET /api/url/:id
Retrieves the original URL for a given short URL ID. Returns the full URL information.
GET /:id
Automatically redirects to the original URL when visiting the shortened link.