This Project is a Simple ReactJS Application which demonstrates the following
- Creating Functional Components in React
- Using Bootstrap along with React
- Using of React hooks
- Fetching data from a json file
- Managing state using Context API
- Using Basic Routing in React
- Fetching and Inserting data in localStorage
- Using regex to search book
- And finally demonstrated how to add product to a cart list, how to assess price and checkout
This project is part of my React cardio session. It can be used to build bigger projects
Refer to https://nodejs.org/en/ to install nodejs
Install create-react-app npm package globally. This will help to easily run the project and also build the source files easily. Use the following command to install create-react-app
npm install -g create-react-app
Clone the project into local
git clone https://github.com/ekamid/react-bookstore-cart.git
cd react-bookstore-cart
Install all the npm packages. Go into the project folder and type the following command to install all npm packages
npm install
In order to run the application Type the following command
npm start
The Application Runs on localhost:3000