-
MySQL Workbench
- Install and set up MySQL Workbench.
- Create the required tables and insert the startup values into the database.
-
Node.js
- Visit the Node.js official website.
- Download and install the latest stable version (LTS version is recommended).
Ensure your project folder is organized as follows:
project/
|-- node_modules/
|-- public/
|-- src/
|-- components/
|-- Auction.js
|-- Cart.js
|-- Home.js
|-- Login.js
|-- ...
|-- App.js
|-- ...
|-- ...
|-- server.js
-
Clone the project repository:
git clone <repository-url> cd <repository-folder>
-
Install Node.js dependencies:
npm install
npm install express mysql2 cors
-
Set up the database:
- Open MySQL Workbench and create the necessary database tables.
- Execute in order: db_createtable.sql, db_trigger.sql, db_insert.sql, db_indexing.sql to setup database in MySQL
-
Navigate to folder where server.js located, adjust MySQL Connetion section to local preference (user, password, database, port) accordingly.
-
Start the backend in a terminal:
node server.js
-
Start the development server in another terminal:
npm start
The responsibilities of each team member here.
- Database normalization: Eric
- Database indexing: Eric
- Database ERD: Eric
- Database ERD double-check: Ruxin
- Frontend: Ruxin, Eric, Ellie
- Backend: Ruxin, Eric
- Report: Ellie
- Report double-check: Ruxin, Eric
- Presentation Slide: Ellie, Eric
- Presentation Recording: Ellie, Eric