Skip to content

Latest commit

 

History

History
executable file
·
25 lines (16 loc) · 615 Bytes

readme.md

File metadata and controls

executable file
·
25 lines (16 loc) · 615 Bytes

HOW TO START

make sure database connection is active, from api/ folder run : mongod --dbpath data/db (keep running in seperate terminal)

To start server from root folder with : node api/server.js

Initialize Admin Account: go to browser and type http://localhost:8080/api/init

Install dependencies, from root run: npm install #TODOs (12:01 from video)

  1. Complete Admin Panel in app/site/controllers/product.ctrl.js resolve in app.js view app/partials/admin-edit-product.html

  2. Complete Shop front page in app/site/controllers/shop.ctrl.js resolve in app.js view app/partials/shop-main.html