Skip to content

eiselems/link-shortener-node

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

LinkShortener

Overview

Demo Install: https://shrtl.herokuapp.com/

This is a basic link shortener with simple HTML GUI and a NodeJS, MongoDB Backend.

screenshot

Quick Start Guide

Prerequisites

In order to use LinkShortener, you must have the following installed:

Installation & Startup

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.

Local Environment Variables

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.

Starting the App

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!

Based on

Clementine.js.

License

MIT License. Click here for more information.

About

Simple Linkshortening Service with GUI

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published