The aim of this task is to to build a simple products page, where you can add products to a shopping cart. As it is mentioned in the instruction the most of focus of the task should be on functionality not UI. For state management, Context API was used to prevent props drilling.
-
Download or Clone the Project from:
https://github.com/abbas-samadani/ts_beeline.git
-
Run command on
terminal
orcmd
:
yarn install
-
Then Run command:
yarn start
-
Run the app in the development mode.Open below address to view it in the browser:
[http://localhost:3000](http://localhost:3000)
Some test using react testing library was written.
Launches the test runner in the interactive watch mode.
Run the tests:
yarn test