Skip to content

About

C++ University Management System with role-based login, course management, and file-based database.

Resources

Stars

1 star

Watchers

0 watching

Forks

Latest commit

 

History

38 Commits

Folders and files

Repository files navigation

University Management System

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.

Features

  • 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

Project Structure

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.

Build and Run

Requires a C++17 compiler (g++ or clang++).

make
./university_app

Or with CMake:

mkdir build && cd build
cmake .. -DCMAKE_BUILD_TYPE=Release
make

Run the program from the repository root so it finds the data/ directory.

Docker

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

Getting Started

  1. Choose Sign Up and create an account (role 4 for Administrator).
  2. Sign In with that account.
  3. From the Administrator menu, choose option 9 to 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.

Notes

  • This is an educational project. The sample data is test data only, and the authentication is not intended for production use.

About

C++ University Management System with role-based login, course management, and file-based database.

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages