This is a little bookstore exercise based on React, react-dom-router, react-bootstrap and webpack as a module bundler and webpack-dev-server as a web server.
- Clone bookstore-exercise repository
git clone https://github.com/kala89/bookstore-exercise
- Run
npm install
npm start
Run webpack-dev-servernpm build
Run webpack to buildnpm build-watch
Run webpack to build and watch for changesnpm test
Run jest for testing .test.js filesnpm test-watch
Run jest for testing .test.js files
- npm, node and packages are not necessary to have. There is a generated html in
dist
directy, just open it. - search for 'cica' word will grant you a list what contains books with 'Add to cart' button on it.