https://github.com/satendra03/urlshortner
A simple and powerful URL shortener that lets you create short links, track analytics. Built with MERN stack, it’s designed for easy link sharing and performance tracking. Perfect for individuals and businesses alike!
https://github.com/satendra03/urlshortner
express expressjs full-stack fullstack fullstack-development mongodb node nodejs react reactjs url url-shortener web webdevelopment
Last synced: 2 months ago
JSON representation
A simple and powerful URL shortener that lets you create short links, track analytics. Built with MERN stack, it’s designed for easy link sharing and performance tracking. Perfect for individuals and businesses alike!
- Host: GitHub
- URL: https://github.com/satendra03/urlshortner
- Owner: satendra03
- License: mit
- Created: 2024-12-19T05:43:41.000Z (4 months ago)
- Default Branch: main
- Last Pushed: 2025-01-09T12:10:47.000Z (4 months ago)
- Last Synced: 2025-01-09T12:33:13.841Z (4 months ago)
- Topics: express, expressjs, full-stack, fullstack, fullstack-development, mongodb, node, nodejs, react, reactjs, url, url-shortener, web, webdevelopment
- Language: JavaScript
- Homepage: https://url-shortner-seven-kappa.vercel.app
- Size: 115 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# URL Shortener
This is a URL Shortener application built with a backend using Express and MongoDB, and a frontend using Vite and React.
---
### This is not a hosted application, you can use it locally
---
## Features
- Shorten URLs
- Redirect to original URLs
- View clicks of shortened URLs---
## Prerequisites
- Node.js
- Vite - React
- MongoDB---
## Getting Started
### Backend Setup
1. Clone the repository:
```sh
git clone https://github.com/satendra03/urlShortner.git
cd urlShortner
```
2. Go to backend folder and install backend dependencies:
```sh
cd backend
npm install
```
3. Create a ```.env``` file in the root directory and add your MongoDB URI:
```sh
MONGO_URI=your_mongodb_uri
PORT=8000
```
4. Start the server
```sh
npm run dev
```### Frontend Setup
1. Go to frontend folder and install dependencies:
```sh
cd frontend
npm install
```
2. Start the server
```sh
npm run dev
```
3. Open your browser and navigate to ```http://localhost:5173```.---
## Usage
1. Enter a URL in the input field and click "Shorten URL".
2. The shortened URL will be displayed below the input field.
3. Click the shortened URL to be redirected to the original URL.---
## Contact Us
We’d love to hear from you! Whether you have a question, suggestion, or issue to report, feel free to get in touch with us.
### Ways to Contact Us:
1. **GitHub Issues**: You can open an issue directly on this repository for bugs, feature requests, or general inquiries.
- [Open an Issue](https://github.com/satendra03/urlShortner/issues)2. **Email**: Reach out to us via email at:
- **[email protected]**3. **Social Media**:
- **Instagram**: [@_satendra_03](https://www.instagram.com/_satendra_03/)
- **LinkedIn**: [Satendra Kumar Parteti](https://www.linkedin.com/in/connect-satendra/)
4. **Buy Me A Coffee**:
- **Small Contibution**:![]()
---