Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/rahul1582/url_shortener
Application to shorten URL's
https://github.com/rahul1582/url_shortener
mongodb nodejs shortener url
Last synced: 12 days ago
JSON representation
Application to shorten URL's
- Host: GitHub
- URL: https://github.com/rahul1582/url_shortener
- Owner: Rahul1582
- License: mit
- Created: 2020-03-28T18:53:24.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2023-01-07T16:50:51.000Z (almost 2 years ago)
- Last Synced: 2023-03-05T13:52:29.621Z (over 1 year ago)
- Topics: mongodb, nodejs, shortener, url
- Language: JavaScript
- Homepage:
- Size: 5.06 MB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 10
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# URL_Shortener
The main objective of this project idea is to shorten URLs.
## Usage
The main task the application will accomplish is to shorten URLs and then redirect users to the original URL when the shortened URL is visited.. By this:-
1. They make links more manageable.
2. They can track and compile click data.
3. They promote sharing.Since users will visit the shortened URL days, months, or even years after, we are saving the original and shortened URLs in a database. When a request comes in, the application checks if the URL exists and redirects to the original, or else it redirects to a 404 page.
## Dependencies
1. NODE JS
2. MONGO DB
3. EXPRESS### To Run
```
First Clone the project.npm install
Then type npm run dev in the terminal,and side by side switch on the Mongo DB Compass server.
Then the nodemon server will start. Yahoo..!!!
Then go to the requests folder, and you have to click on the post request button by copying your url you want to shorten in the longUrl portion.
```### Demo
### Author
```
Rahul Kumar Patro
```