Skip to content

omi-masika/stickerfy

 
 

Repository files navigation

Stickerfy

The application can be found at https://stickerfy.herokuapp.com/

Run the application locally

Prerequisites

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

Get started

  1. Clone this repository
    git clone https://github.com/meaghanlewis/stickerfy.git
  1. Install dependencies
    npm install
  1. Set the MONGODB_URI environment variable

On OSX I use the following command from my terminal.

    export MONGODB_URI=mongodb://localhost:27017/shopping
  1. Start up MongoDB

    Refer to Run MongoDB Community Edition for the latest command to do that on your operating system. on OSX, I use the following command from my terminal.

    brew services start [email protected]
  1. Populate shopping database
    node seed/product-seeder.js
  1. 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

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 71.3%
  • Handlebars 27.9%
  • CSS 0.8%