This project is a Database Management System (DBMS) designed for managing online products. It provides a structured approach to handle product information, categories, and related data.
- Begin by installing necessary packages using npm:
npm install
- Modify the database configuration to suit your environment:
Navigate to config/database.js
and edit the configuration settings accordingly.
- Create the database schema by running:
node scripts/create_database.js
- Proceed to create the required tables in the database:
node scripts/create_tables.js
- Populate the tables with initial data:
node scripts/filling.js
- Start the server to run the application:
node server.js
- Access the application in your browser at:
- Upon launching the application, navigate to the provided URL in your browser.
- The system allows CRUD (Create, Read, Update, Delete) operations on products, categories, and other related entities.
- Ensure the database connection is established before interacting with the application.
- Dependencies: Ensure all dependencies mentioned in
package.json
are installed usingnpm install
. - Database Configuration: Verify the database configuration in
config/database.js
matches your database credentials.