Sample app to generate Product List from JSON data. The data is stored in src/db.json
.
Prerequisites
Before you begin, ensure you have met the following requirements:
- You have installed the latest version of
node, npm
Getting json-list
To get json-list, follow these steps:
git clone https://github.com/2kabhishek/json-list
cd json-list
npm install # Installs dependencies
npm start # Runs live on localhost:3000
npm test # Runs tests
Using json-list
Copy Components into your project structure and include them in your jsx
import AllProductsPage from Components/AllProductsPage/AllProductsPage
// Other jsx code
<AllProductsPage />
// Code continues
Hit the ⭐ button if you found this useful.