This is a simple short-url-generator in Node/Express/Mongoose stack
There are currently 2 services available:
- Generate short-url --- documentation HERE
- Open the shorten url in your browser and redirect to correct URL :blush
Just clone this project to your local machine, hit npm install and create an .env file with the following variables:
PORT=5000
ENV=dev
MONGODB_URI=mongodb://localhost/short-url
SHORT_URL_BASE=localhost:5000/link
Since this project user MongoDb as database, you need to install Mongo Client in your machine before running it locally. You can access MongoDB Documentation and follow the installation instructions before running your project.
Please feel free to fork/clone this repo to look deeper into this project and contribute if you like. :blush
Henrique Guazzelli Mendes - URL Shorterner Version 0.1 - Published in Jun-17th of 2020