The task involves developing a web application that allows users to browse through a list of products categorized by various parameters. Users should have the capability to sort and filter products based on criteria such as categories, price range, gender, occasion, and discount. Furthermore, the application should empower users to seamlessly edit and delete their selected products, with these modifications being promptly reflected in the user interface.
https://github.com/MaitrayeeK/mern-stack-task-enacton
https://drive.google.com/file/d/1baygibBMq2otMQRrroQk-C0lB96uDIf8/view
To set up the project locally, follow these steps:
- Clone the repository and navigate to the project folder.
- Import the product_database.sql file in to your MySQL database (you can use phpMyAdmin).
- Update the .env file with your own MySQL credentials.
- Run
npm install --force. - Start the project using
npm run dev. - Access the NextJS website at http://localhost:3000.
- Setup the database, You would need mysql and workbench for the database. You can get it from here: https://dev.mysql.com/downloads/installer. To Import data in do refer to this document: https://dev.mysql.com/doc/workbench/en/wb-admin-export-import-management.html