This project was bootstrapped with Create React App.
In the project directory, you can run:
Installs the project's dependencies to start working with the code.
Runs the app in the development mode.
Open http://localhost:3000 to view it in your browser.
Displays the available books within the user's app shelves.
Displays a form that accepts a book title, then shows the available books within the database under the passed title.
Handles unwanted urls that the user requests.
BooksAPI.js file is provided by Udacity within the starter code. It contains the required methods to perform some CRUD operations as listed below:
-
Get user's books that are on app shelves.
-
Method Signature:
getAll();
-
Arguments:
void
-
Returns: an array of
book
objects which represents the books currently on the app shelves.
-
Update specific
Book
Object to move it onto other shelf. -
Method Signature:
update(book, shelf);
-
Arguments:
book
:Object
that contains at least an (id) attribute.shelf
:String
The desired shelf title.
-
Returns:
void
-
Search for specific book title.
NOTE: SEARCH_TERMS.md file contains the available book titles via this limited API. -
Method Signature:
search(query);
-
Arguments:
query
:String
The desired book title to search for
-
Returns: an array of
book
objects which represents the available books within the database under the passed title.