|
@ -45,7 +45,6 @@ You can start editing the page by modifying app/page.tsx. The page auto-updates |
|
|
|
|
|
|
|
|
Project Structure |
|
|
Project Structure |
|
|
Login: Navigate to the login page to authenticate users. |
|
|
Login: Navigate to the login page to authenticate users. |
|
|
Signup: Navigate to the signup page to register new users. |
|
|
|
|
|
Table Data: The home page fetches and displays product data from Dummy JSON. |
|
|
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. |
|
|
Review Modal: Click the "View Reviews" button in any table row to open a modal displaying the product reviews. |
|
|
API |
|
|
API |
|
@ -53,9 +52,12 @@ This project uses the Dummy JSON API to fetch product data. The data is displaye |
|
|
|
|
|
|
|
|
Components |
|
|
Components |
|
|
Login Component: Handles user login functionality. |
|
|
Login Component: Handles user login functionality. |
|
|
Signup Component: Handles user registration functionality. |
|
|
|
|
|
Table Component: Displays product data in a table format. |
|
|
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. |
|
|
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 |
|
|
Contributing |
|
|
If you would like to contribute to this project, please fork the repository and submit a pull request. |
|
|
If you would like to contribute to this project, please fork the repository and submit a pull request. |
|
|
|
|
|
|
|
|