Merge branch 'master' of https://git.sentientgeeks.us/Amit/mui-demo-project
This commit is contained in:
commit
1b70a7d27a
1
.env.local
Normal file
1
.env.local
Normal file
@ -0,0 +1 @@
|
||||
NEXT_PUBLIC_API_URL= https://dummyjson.com
|
3
.gitignore
vendored
3
.gitignore
vendored
@ -25,9 +25,6 @@ npm-debug.log*
|
||||
yarn-debug.log*
|
||||
yarn-error.log*
|
||||
|
||||
# local env files
|
||||
.env*.local
|
||||
|
||||
# vercel
|
||||
.vercel
|
||||
|
||||
|
@ -45,7 +45,6 @@ You can start editing the page by modifying app/page.tsx. The page auto-updates
|
||||
|
||||
Project Structure
|
||||
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.
|
||||
Review Modal: Click the "View Reviews" button in any table row to open a modal displaying the product reviews.
|
||||
API
|
||||
@ -53,9 +52,12 @@ This project uses the Dummy JSON API to fetch product data. The data is displaye
|
||||
|
||||
Components
|
||||
Login Component: Handles user login functionality.
|
||||
Signup Component: Handles user registration 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.
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user