A console-based University Management System written in C++17. It provides role-based access control, password-hashed authentication, and file-based persistence for students, faculty, staff, and administrators.
- Roles: Student, Faculty, Staff, and Administrator, each with its own menu
- Students: register for courses, view grades and transcripts, calculate GPA, book advisor appointments, view schedule, update personal info
- Faculty: view assigned courses, update grades, view class rosters, post assignments, record attendance, manage office hours
- Staff: manage student records, generate reports, scheduling
- Administrators: full system and user management, sample data creation
- Persistence: data is stored in plain files under
data/(users, courses, enrollments, grades, appointments) - Reports: GPA listings, honor roll / Dean's List, database statistics
src/main.cpp Application entry point
include/ Headers (person, student, faculty, course, database)
src/ums.cpp Earlier single-file version of the application
data/ Data files (.dat) and generated reports (.txt)
docs/index.html Web portal page
sbom_ui/ SBOM Generator web UI
scripts/ SBOM generation, signing, and scanning scripts
.gitlab-ci.yml CI pipeline: build, SBOM generate, sign, scan, report
CMakeLists.txt CMake build
Makefile Make build
Dockerfile SBOM builder image with the app built inside
USAGE_GUIDE.md Walkthrough for each role
Further documentation: USAGE_GUIDE.md, COMPLETE_SYSTEM_OVERVIEW.md, COURSE_AND_ENROLLMENT_SUMMARY.md, GRADES_SUMMARY.md.
Requires a C++17 compiler (g++ or clang++).
make
./university_appOr with CMake:
mkdir build && cd build
cmake .. -DCMAKE_BUILD_TYPE=Release
makeRun the program from the repository root so it finds the data/ directory.
The Dockerfile builds an image with the SBOM tooling (Syft, Grype, Trivy, CycloneDX, Hoppr) and compiles the app inside it:
docker build -t ums-sbom-builder .
docker run -it ums-sbom-builder- Choose Sign Up and create an account (role
4for Administrator). - Sign In with that account.
- From the Administrator menu, choose option
9to create sample courses.
The repository also ships with pre-populated sample data in data/ (users, courses, enrollments, and grades). See USAGE_GUIDE.md for details.
- This is an educational project. The sample data is test data only, and the authentication is not intended for production use.