Browse Source

update readme

master
Tamojit Biswas 6 months ago
parent
commit
bf121c9dfa
3 changed files with 5 additions and 5 deletions
  1. +1
    -0
      .env.local
  2. +0
    -3
      .gitignore
  3. +4
    -2
      README.md

+ 1
- 0
.env.local View File

@ -0,0 +1 @@
NEXT_PUBLIC_API_URL= https://dummyjson.com

+ 0
- 3
.gitignore View File

@ -25,9 +25,6 @@ npm-debug.log*
yarn-debug.log*
yarn-error.log*
# local env files
.env*.local
# vercel
.vercel


+ 4
- 2
README.md View File

@ -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…
Cancel
Save