- MyRead is a web application for managing books. User can read, search, mark favorite books & put it into shelves, & give rating to a book.
- Enable New Javascript Features on your web browser just in case your browser doesn't support ES snytax
git clone
this folder to your local environment from github repositorycd
to the folder where your downloaded files located at- In terminal, install dependencies using
yarn install
- In terminal,
yarn start
to launch the project and visit local browser http://localhost:3000/
- main page show 3 shelves for books (done)
- main page show a control that allow users to move book between shelves (done)
- information persist between pages (done) - NOTE: I've implemented "extra features - rating system", if the browser is relaunch (which call the Udacity's provided BooksAPI to get all the books, then the rating system will gone away because I realize that the BooksAPI.update(book, shelf) ONLY store the information between shelf and books id, and there is no way for me to update the rating system to the BooksAPI backend server. that's why the rating gone when browser refresh even my rating system work fine in local environment (when the server doesn't restart), it works when transition between home page <> search page, the purpose of building these rating system is because I want to learn it and it is cool!)
- The search page has a search input field. As the user types into the search field, books that match the query are displayed on the page (done)
- Search results on the search page allow the user to select “currently reading”, “want to read”, or “read” to place the book in a certain shelf (done)
- When an item is categorized on the search page, and the user navigates to the main page, it appears on that shelf in the main page. (done)
- main page link to search page (done)
- search page link back to main page (done)
- Books have the same state on both the search page and the main application page: If a book is on a bookshelf, that is reflected in both location (done)
To improve myself, I have added few extra features, which is just learnt in these few day and it's really cool!
- (when you click the "i" icon on top left corner of the book cover, you can see the book details in a pop up modal window, I have also implement some logic about the expanded text based on user action the - "Read more/Less link" )
- you can click on star below the book covers to rate its rating, the average rating is counted as = total rating/total rating counts, so when one user clicked the star, it update the rating counts and total rating, then recalculate the average rating. The details and logic can be seen in the src code in RatingSystem.js
- Add sorting to sort books category and create another UI view
- Learn Redux!