Starter template for the final assessment project for Udacity's React Fundamentals course provided by Udacity Team.
- install all project dependencies with
npm install(oryarn install) - start the development server with
npm start(oryarn start)
- Project use Typescript for types checking and extending JavaScript.
tsxrepresentsjsxsame astsrepresentsjs.- all types are waited in files where are most used.
- (Types for books are in
Book.tsxfor API inside `BooksAPI.ts etc...)
- (Types for books are in
- Project Structure
- index.tsx - root of React app
- App.tsx - used for manage book state and route
- Components
- Home.tsx - main page witch display shelf
- Bookshelf.tsx - component for displaying bookshelf
- Search.tsx - search page
- Book.tsx - book component
- Components
- BooksAPI.ts - API action for books backend server
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.