#Shopping Basket
An example Node + React application using the shopping cart kata as a domain.
The application was built using the following dependencies:
- Node v6.3.1
- Docker v1.12.0 (Docker for Mac)
- Docker-Compose v1.8.0
Ensure the correct node version. If you're using NVM you can run:
$ cd shopping-basket
$ nvm use
Run the application using:
$ npm run web
This will run the application on port 3000
Run the application using:
$ ./run-load-balanced.sh
This will run three application nodes proxied through nginx on port 3000
Build and test the application using:
$ npm test
To just run unit tests use:
$ npm run unit
To just run acceptance tests use:
$ ./run-acceptance-tests.sh
Fix code style issues using:
$ ./node_modules/.bin/semistandard --fix
To just build the application use:
$ npm run build