Demo Install: https://shrtl.herokuapp.com/
This is a basic link shortener with simple HTML GUI and a NodeJS, MongoDB Backend.
In order to use LinkShortener, you must have the following installed:
To install LinkShortener, simply enter the below in the terminal window:
$ git clone https://github.com/eiselems/link-shortener-node.git
This will install the LinkShortener components into the your-project
directory.
Create a file named .env
in the root directory. This file should contain:
MONGO_URL=mongodb://localhost:27017/links
PORT=8080
Default values are the ones mentioned above.
To start the app, make sure you're in the project directory and type node server.js
into the terminal. This will start the Node server and connect to MongoDB.
You should the following messages within the terminal window:
Node.js listening on port 8080...
Next, open your browser and enter http://localhost:8080/
. Congrats, you're up and running!
MIT License. Click here for more information.