/stickerfy

Primary LanguageJavaScriptMIT LicenseMIT

Stickerfy

Build Status

Run the application locally

Prerequisites

You need Node, NPM (which is bundled with Node) and MongoDB properly installed before being able to run this application.

To get started:

  1. Clone this repository
    git clone https://github.com/meaghanlewis/stickerfy.git
  1. Install dependencies
    npm install
  1. Start up MongoDB
    mongod
  1. Populate shopping database
    node seed/product-seeder.js

Once the project is setup, start the dev server with Nodemon.

    npm run dev

Server will start at: http://localhost:3000

Run mocha tests

Unit tests

  • to run: npm run unit-test
  • do not require the dev server running

Integration tests

  • to run: npm run integration-test
  • start up the dev server when running

UI tests

  • to run: npm run ui-test
  • note: dev server must be started by running npm run dev beforehand