eCommerce site built with the MEAN stack - https://bhcmart.herokuapp.com/
This is a starter project if you intend building an eCommerce platform on MEAN(Mongo, Express, Angular, Node). Socket was used to achieve a realtime updates in prices and quantities of products.
Admin User: admin@bhcmart.com Password: 123456
- Git
- Node.js and npm Node ^4.2.3, npm ^2.14.7
- Bower (
npm install --global bower
) - Ruby and then
gem install sass
- Grunt (
npm install --global grunt-cli
) - MongoDB - Keep a running daemon with
mongod
-
Run
npm install
to install server dependencies. -
Run
bower install
to install front-end dependencies. -
Run
mongod
in a separate shell to keep an instance of the MongoDB Daemon running -
Run
grunt serve
to start the development server. It should automatically open the client in your browser when ready.
Run grunt build
or grunt
for building and grunt serve
for preview.
Running npm test
will run the unit tests with karma.
Running grunt serve:dist
previews the application in production mode