Skip to content

Latest commit

 

History

History
37 lines (14 loc) · 1.24 KB

File metadata and controls

37 lines (14 loc) · 1.24 KB

A valid NodeJS installation is required to run the API server.

First, set up database

  1. The database must first be initialized by running the A5-Create.sql and A5-InitialData.sql scripts within the src/DB-erd-scripts folder.

  2. After database initialization, execute the trigger and procedure creation scripts (https://github.com/YifanEvaWang/Car-Database-Management-System/blob/master/src/DB-ERD-SCRIPT/triggers_and_procedures/All_PROC_AND_TRIGGER.txt).

Then, follow the instructions below to start the API server and the user interface

  1. In the a5 folder, navigate to the WEBSERVICE subfolder and install the web server with npm install.

  2. Navigate to src/WEBSERVICE/config/dbConfig and fill in your database information.

  3. Start the server by using npm start.

  4. The web server will proceed to run on port 8000.

  5. Navigate to the src/UI folder and install the UI using npm install

  6. Start the user interface by using npm start

  7. The user interface will be accessible on localhost:3000

Demo https://www.youtube.com/watch?v=jTSjqxzGw9k (Voice volume might be a bit small, sorry!!)