This is a single-page app developed in Aurelia that simulates a basic eCommerce user flow:
- Browse items
- Add to cart
- Visit cart
- Change quantity
- Remove items
- Checkout
- Confirmation
This application can either be used stand-alone with fake data or connected to the ReCommerce API gateway.
- First install Aurelia's CLI from npm:
npm install -g aurelia-cli - Install the following dependencies from npm:
- numeral.js:
npm install numeral - aurelia-validation:
npm install aurelia-validation --save - aurelia-mask (for patterned inputs):
npm install aurelia-mask - aurelia-fetch-client (modern http):
npm install aurelia-fetch-client
- Clone this repo
- Execute
au runto demo it
- To make changes and have the app auto-reload execute
au run --watch