/urlShortnerAngularApp

Primary LanguageJavaScriptMIT LicenseMIT

Shortly

This project was something that I built when I was learning Angular a couple years ago. It is an application that takes a url and shortens it to something more managable. It uses an old Node (Express) and MongoDB backend I wrote too.

System Requirements:

  • NPM
  • MongoDB

Installation


  1. Install the system requirements. You can use homebrew to do this or download directly from associated websites if you are comfortable with installing

    # Install NPM (along with NodeJS)
    brew install node
    
    or install manually
    https://nodejs.org/en/download/
    https://www.npmjs.org/install.sh
    
    # Install MongoDB
    brew install mongodb
  2. Install JavaScript dependencies.

    # Install global dependencies
    npm install -g gulp bower karma karma-cli nodemon global modules
    
    # Install all node dependencies in package.json
    npm install
    
    # Install bower dependencies that get created in lib
    bower install
  1. Start local instance.

    # Seperate tab in your termial, run mongod to start mongo up
    mongod
    
    # Start server and app (may take a couple mins to compile and build)
    npm start