written with React(hooks and context), React Router, TypeScript and AWS-Amplify
In the project directory, you can run:
Runs the app in the development mode.
Open http://localhost:3000 to view it in the browser.
The page will reload if you make edits.
You will also see any lint errors in the console.
applied with AWS-Amplify, there is demo site.
☑ Simple BookStore with React Functional Components with hooks
☑ using react context to manage states rather than using useState in the most top hierarchical functional component and descend state props to the bottom.
☑ use react-router-dom to separate pages, especially cart and bookDetail, and use react-router hooks to interact among routes.
☑ Attach AWS-Amplify to easily back up the functionalities of backend; do the Sign-in functionality with Google with the Amplify auth class.
☑ Attach Amplify API for backend using GraphQL to alter the hard-coded book data
☐ try to manage GraphQL subscription for possible chatting system and product number change in the cart
Completed!