Skip to content

gdomaradzki/ecommerce-prototype

Repository files navigation

ecommerce-prototype

A project made with Vue.js, Node.js, MongoDB (MLabs), Express.js, Nightwatch, Karma/Mocha and SCSS

Build Setup

# install dependencies
npm install

#install dev dependencies in case your npm run dev/build after npm install throws errors
npm install -only=dev

# start server for production ready version and access it at localhost:3000
node server.js (or nodemon server.js)

# serve with hot reload at localhost:8080
npm run dev

# build for production with minification
npm run build

# build for production and view the bundle analyzer report
npm run build --report

# run unit tests
npm run unit

# run e2e tests
npm run e2e

# run all tests
npm test