https://github.com/prithvikings/shorturl
A simple and efficient URL shortener built with Node.js, Express, and MongoDB. This project generates unique short URLs for long links, tracks click counts, and logs visit timestamps for analytics. Perfect for learning backend development and database integration!
https://github.com/prithvikings/shorturl
express mongodb nodejs
Last synced: 3 months ago
JSON representation
A simple and efficient URL shortener built with Node.js, Express, and MongoDB. This project generates unique short URLs for long links, tracks click counts, and logs visit timestamps for analytics. Perfect for learning backend development and database integration!
- Host: GitHub
- URL: https://github.com/prithvikings/shorturl
- Owner: prithvikings
- Created: 2025-01-09T18:40:01.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-01-12T20:32:49.000Z (over 1 year ago)
- Last Synced: 2025-03-30T21:30:10.647Z (over 1 year ago)
- Topics: express, mongodb, nodejs
- Language: JavaScript
- Homepage:
- Size: 17.6 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Short URL Mini Project
This is a simple URL shortener application built using Node.js, Express, and MongoDB. The project generates short, unique URLs for long redirect URLs, tracks the number of clicks, and maintains a visit history with timestamps.
## Features
- Generate short URLs for any long URL.
- Redirect users to the original URL when they use the short URL.
- Track the number of clicks for each short URL.
- Log the timestamp of each visit.
## Tech Stack
- **Backend**: Node.js, Express.js
- **Database**: MongoDB (via Mongoose)
- **Unique ID Generation**: nanoid