- Fork and clone the repository using git clone
- Install dependancies
npm install
- Initialize mock data
npm run mock:init
- Run app in dev mode
npm run serve:dev
- Run app in production mode
npm run serve:production
Then dive into dist/index.html, change style and script to 'style.css' and 'bundle.min.js', instead of '../node-angular-shopping-cart/*' thing. Not the perfect solution yet.
- Run test
npm run test
- Test in watch mode
npm run test:watch
- In the next Angular 1 app, will probably follow the points made in the blog post Sane, scalable Angular apps are tricky, but not impossible. Lessons learned from PayPal Checkout.. Use directives everywhere, to make it reusable components and avoid scope inheritances. This way of building app will be somewhat similar to React and Angular 2.