- Node.js (v14 or later)
- npm or yarn package manager
- Clone the repository:
git clone https://github.com/sad1k/testTable.git - Install the dependencies:
npm install
# or
yarn install
This application dynamically renders different pages based on data passed to the PageWrapper component. Here is how the routing is configured:
- Home Page (/): Displays a list of products (products.json).
- Products Page (/products): Displays the same list of products.
- Price Plans Page (/price-plans): Displays a list of price plans (pricePlans.json).
- Pages Page (/pages): Displays a list of pages (pages.json).