Giter Site home page Giter Site logo

url-shortener's Introduction

URL shortener

Use the web app to create a shortened link making it easy to remember.

GITHUB

By copying link or scanning QR code, enter web you input.

GITHUB

Getting Start

Environment Setup

  • Node.js v14.16.0

  • MongoDB v4.2.18

Installing

  1. Check requirement for environment setup.

  2. Open your terminal and use 'git clone' to copy this project to local.

git clone https://github.com/winnielinn/url-shortener.git
  1. Connect MongoDB server.
cd ~/mongodb/bin/
./mongod --dbpath /Users/[Users'name]/mongodb-data
  1. Change directory to the project.
cd url-shortener
  1. Install all dependencies.
npm install
  1. Install nodemon package.
npm install -g nodemon 
  1. Run server in localhost using following npm script.
npm run dev
  1. If successful, App is running on http://localhost:3000 will show in your terminal and you could open this URL to use the web app.

Devtools

  • Express 4.17.2

  • Express-Handlebars 6.0.2

  • Bootstrap 5.1.0

  • mongoose 6.2.1

  • random-string 0.2.0

  • valid-url 1.0.9

Contributor

Winnie Lin

url-shortener's People

Contributors

winnielinn avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.