Software Engineering (CO3001)-DH_HK211 assignment project
Author: Nguyễn Diệu Ái, Nguyễn Kế Đạt, Trương Hoàng Phúc, Đặng Quốc Thanh, Huỳnh Đức Thịnh, Nguyễn Phúc Thịnh, Nguyễn Ngô Thanh Trúc.
We build this system to make it easier for customers to use the restaurant's services and also help the restaurant manage data. This system includes managing tables, ordering food, alerts, billing, credit card processing and viewing order records.
This app can be use by 4 users:
- Customer
- Receptionist
- Clerk
- Manager
Each actor has a corresponding interface that performs different functions.
Update informations (host, user, password, database, port) of your connection in ./server/dbConn.js
var dbConn = mysql.createConnection({
host: "127.0.0.1",
user: "root",
password: "26122001",
database: "db",
port: "3306",
dateStrings: true
});cd server
npm install (to install all dependencies required if necessary)
node server
Server will run at http://localhost:3001.
App has 4 views: Customer-view, Clerk-view, Receptionist-view and Manager-view.
In the project directory, you can:
cd cusview
npm install (to install all dependencies required if necessary)
npm start
- After run the Customer-view project, add [/Table Number] after the link on the web like [http://localhost:3000] to [http://localhost:3000/1] to notify the POS system which table you are currently on and get access to the menu (Table Number ranges from 1 to 25, out of that range will cause error)
cd clerkview
npm install (to install all dependencies required if necessary)
npm start
cd receptionistView
npm install (to install all dependencies required if necessary)
npm start
cd managerview
npm install (to install all dependencies required if necessary)
npm start
Open http://localhost:3000 to view it in the browser.
You can learn more in our Github Repository.