Skip to content

karmanya007/url-shortener

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Shortify

A url shortening dynamic website Deployed version


homepage


Installation

Requirements

You will need Nodejs and MongoDB

Setup

  1. Clone this repository.

    git clone https://github.com/karmanya007/url-shortener.git
  2. Make config.env file and put the following variables:

    NODE_ENV=development
    PORT=3000
    DATABASE=<Your mongodb connection string>
    DATABASE_LOCAL=mongodb:https://localhost:27017/shortify
    DATABASE_PASSWORD=<Your database connection password>
  3. Open this directory in the terminal and run:

    npm install
    npm run dev
  4. Visit https://localhost:3000/

Usage

Start creating short urls either for you only or for the world!

😄ENJOY😄