This repository contains my solution to the Scandiweb Test Assignment. The assignment involves creating a web application that allows the user to add products with specific details based on the product type.
- Add products with details based on product type (DVD, Book, Furniture).
- Display a list of added products.
- Mass delete selected products.
- JavaScript
- React
- SCSS
- PHP
- MySQL
- Clone the repository to your local machine.
- Set up a local server environment with PHP and MySQL.
- Import the database schema provided in
database/create_database.sql
to your MySQL database. - Import the initial data using
database/insert_initial_data.sql
to pre-fill the database with sample data. - Update the PHP server details in the project files to match your local environment.
- Start the local server.
- Navigate to the project directory.
- Open the project in a web browser.
To set up the MySQL database:
- Install MySQL and set up your local MySQL server.
- Create a new database named
scandiweb_products
. - Import the database schema by running the following command in your MySQL console:
mysql -u username -p scandiweb_products < server/database/create_database.sql >
- Import the initial data by running the following command in your MySQL console:
mysql -u username -p scandiweb_products < server/database/insert_initial_data.sql >
You can view the working application at this link: https://test-assigment-scandi.000webhostapp.com/.
Contributions to the Chat App MERN project are welcome! If you have any ideas for improvements, bug fixes, or new features, feel free to open an issue or submit a pull request.
Please make sure to follow the existing coding style and guidelines when contributing.
This project is currently without a specific license. All rights are reserved.