/url-shortner

A URL shortner made using NodeJS.

Primary LanguageJavaScript

URL Shortner

URL Shortner

URL shortner made using NodeJS and MongoDB served over Heroku at https://url-shortner-99.herokuapp.com/.

Setup locally

Prerequisites

Instructions

    git clone https://github.com/sarthak-sehgal/url-shortner
    cd url-shortner
    npm install

In server.js

In public/main.js

Create a .env file

PORT = 8081
DB_USERNAME="your_db_user_username"
DB_PASSWORD="your_db_user_password"