Idea for the Canteen Management System:
Taking Fudan University as an example, the school's backend already has a system for managers, but it lacks a display system for users (students). Meanwhile, some cafeterias (such as Dan Yuan) set up a small whiteboard for students to provide feedback, and this method of feedback could obviously be optimized through an online system to improve efficiency and facilitate display. An online display system aimed at students could also help promote and publicize the school cafeteria. From this, the idea for a college cafeteria management system began to take shape.
This features is divided for administrators and student users.
- Access user information.
- View the user interface display.
- Add, delete, or modify cafeteria information.
- Add, delete, or modify window information.
- Add, delete, modify, or search for dish information.
- Add, delete, or modify tag information.
- View the categories of tags associated with dishes, and add, modify, or delete tags associated with dishes.
- Delete comments.
Modify Information:
Guideline:
- Log in, log out;
- Browse dish information of different cafeterias;
- Retrieve dishes based on the search box input;
- Filter dishes by different classification methods;
- View detailed information about dishes;
- Read comments and ratings on dishes;
- Add comments and ratings.
Dish detail display:
ER Design:
Detail of the relational model and fields stored in the database:
- auth_user(id, username, password, is_superuser, first_name, last_name, email, is_active)
- canteen(C_, Cname, Cpicture)
- win(W_, Wname, Wlocation, C_)
- dish(D_, Dname, Dprice, is_sell, Dpicture, W_)
- remark(R_, Rcontext, Rmark, id, D_)
- tag(T_, Tname)
- tag_belong(T_, D_)
Primary keys in bold and foreign keys in italic.
Reference to bserv.
NOTE:
To build the dependencies & the project, refer to
BUILD-Windows.md
orBUILD-ubuntu.md
.
Project for Introduction to Database 22 Spring in Fudan University.
Using Framework bserv
, A Boost Based C++ HTTP JSON Server.
Link: bserv.