The application can be found at https://stickerfy.herokuapp.com/
You need Node, NPM (which is bundled with Node) and MongoDB Community Edition properly installed before being able to run this application.
- Clone this repository
git clone https://github.com/meaghanlewis/stickerfy.git
- Install dependencies
npm install
- Set the MONGODB_URI environment variable
On OSX I use the following command from my terminal.
export MONGODB_URI=mongodb://localhost:27017/shopping
-
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]
- 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
- to run:
npm run unit-test
- do not require the dev server running
- to run:
npm run integration-test
- start up the dev server when running
- to run:
npm run ui-test
- note: dev server must be started by running
npm run dev
beforehand