Welcome to the E-Store Management System project! This project aims to provide a database management system for an online store.
To set up the database for the E-Store Management System, follow these steps:
-
Run the SQL file named
estore.sql
to create the necessary tables and insert sample data into the database. Make sure you have a MySQL server running and replace<database-name>
with the name of your database: -
After running the SQL file, the database schema and sample data will be set up in your MySQL database.
The database connection for the E-Store Management System is configured in the db.js
file located in the models
folder. Make sure to update the database connection details in this file to match your MySQL database configuration: