https://github.com/dipeshdimi/urlshortener
🔗🔍 URL Shortening Backend Service using Node, Express and MongoDB
https://github.com/dipeshdimi/urlshortener
express-js mongodb mongoose mvc-architecture node-js shortid
Last synced: 2 months ago
JSON representation
🔗🔍 URL Shortening Backend Service using Node, Express and MongoDB
- Host: GitHub
- URL: https://github.com/dipeshdimi/urlshortener
- Owner: dipeshdimi
- Created: 2024-02-02T02:04:08.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-02-02T02:19:09.000Z (over 2 years ago)
- Last Synced: 2025-01-26T15:17:33.082Z (over 1 year ago)
- Topics: express-js, mongodb, mongoose, mvc-architecture, node-js, shortid
- Language: JavaScript
- Homepage:
- Size: 42 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# URL Shortening Backend
This backend service provides URL shortening capabilities, allowing users to generate short links and retrieve analytics for their usage.
## Introduction
URL shortening is the process of converting long URLs into shorter, more manageable links. This backend service offers a scalable and efficient solution for URL shortening, providing features such as link generation and analytics tracking.
## Features
- Shorten long URLs to compact, user-friendly links.
- Retrieve original URLs from short links.
- Track analytics for link usage.
- Secure MongoDB integration for data storage.
## Usage
### API Endpoints
- `POST /url`: Shorten a long URL.
- `GET /:shortId`: Redirect to the original URL associated with the provided short ID.
- `GET /url/analytics/:shortId`: Retrieve statistics for a specific short ID.