This project is a example React/Redux App for add books on categorized shelfs.
- Redux architecture
- Testing with Jest and Enzyma (for components)
- LocalStorage usage to sync Redux State
- Validation with prop-types
Install dependencies
npm install or yarn install
Start Project
npm start or yarn start
Run test
npm test or ... ok you got it already
├── README.md - This file.
├── SEARCH_TERMS.md # The whitelisted short collection of available search terms for you to use with your app.
├── package.json # npm package manager file.
├── public
│ ├── favicon.ico # React Icon, You may change if you wish.
│ └── index.html # DO NOT MODIFY
└── src
├── App.css # Styles for your app. Feel free to customize this as you desire.
├── actions # All the redux actions
├── api #
│ ├── BooksAPI.js # A JavaScript API for the provided Udacity backend.
├── components # simple stateless components
├── containers # more complex containers
├── constants # more complex containers
│ ├── Actions.js # All the existing actions type constants.
├── icons # Helpful images for your app. Use at your discretion.
├── reducers # Redux reducers
├── utils # Utils files
│ ├── testMocks.js # Js object to use on tests
├── index.css # Global styles.
└── index.js #
- Add immutableJs
- Add new features
The Backend Server em BooksApi.js file was provided by Udacity
The backend API uses a fixed set of cached search results and is limited to a particular set of search terms, which can be found in SEARCH_TERMS.md. That list of terms are the only terms that will work with the backend, so don't be surprised if your searches for Basket Weaving or Bubble Wrap don't come back with any results.
This project was bootstrapped with Create React App. You can find more information on how to perform common tasks here.
This repository is the starter code for all Udacity students. Therefore, we most likely will not accept pull requests.
For details, check out CONTRIBUTING.md.