-
Install dependencies:
$ npm install -
Then run:
$ npm start. This runs the app in the development mode. Open http://localhost:3000 to view it in the browser.
- Run
$ npm run build
- Install the
servepackage:$ npm install -g serve - Run
$ serve -s build
- The file
/src/store/defaultStore.tscontains an initial set of books already added which will be loaded on the first load if localStorage is empty. - To see the Redux store in Chrome DevTools, uncomment line #10 in the file
/src/store/store.ts