Prakash Maity fd323d8a3c | 5 months ago | |
---|---|---|
constant | 6 months ago | |
public | 6 months ago | |
src | 5 months ago | |
.env.local | 6 months ago | |
.eslintrc.json | 6 months ago | |
.gitignore | 6 months ago | |
README.md | 6 months ago | |
jest.config.ts | 5 months ago | |
next.config.mjs | 6 months ago | |
package-lock.json | 6 months ago | |
package.json | 5 months ago | |
tsconfig.json | 6 months ago | |
yarn.lock | 6 months ago |
TEST DEMO
This is a Demo project Developed in NextJS with Tanstack React Table.
First, install the dependencies:
npm install
# or
yarn install
# or
pnpm install
# or
bun install
npm run dev
# or
yarn dev
# or
pnpm dev
# or
bun dev
Open http://localhost:3000 with your browser to see the result.
You can start editing the page by modifying app/page.tsx. The page auto-updates as you edit the file.
Project Structure Login: Navigate to the login page to authenticate users. Table Data: The home page fetches and displays product data from Dummy JSON. Review Modal: Click the "View Reviews" button in any table row to open a modal displaying the product reviews. API This project uses the Dummy JSON API to fetch product data. The data is displayed in a table on the home page.
Components Login Component: Handles user login functionality. Table Component: Displays product data in a table format. Review Modal Component: Displays product reviews in a modal when the "View Reviews" button is clicked.
.env As there is no secret key in the .env file, that's why we push it into the repository, otherwire we follow the best practice.
Contributing If you would like to contribute to this project, please fork the repository and submit a pull request.
License This project is licensed under the MIT License.
This README includes more details about the project structure, components, and API usage.