How shayalsammil/student-mgmt-dvops works
This is a small Express-based student management app. The browser workflow displays students and submits create or update requests; Express routes dispatch those requests to handlers that validate or modify student records stored in a JSON file. The create handler constructs Student model instances, while the read and update handlers operate on parsed records. The source excerpts show these paths, but do not expose the HTML wiring or all page behavior, so those relationships are omitted.
Main entry points: index.js Express app and routes · ShayalSammilUtil.js Create student handler · AvielUtil.js Read students handler · GlenOngUtil.js Update student handler
Components 12
Browser interface
- Web page
public/index.html - Create form logic
public/js/shayal-sammil.js - Student table logic
public/js/aviel-chua.js - Update form logic
public/js/glen-ong.js
Express application
- Express app and routes
index.js
Student operations
- Create student handler
utils/ShayalSammilUtil.js - Read students handler
utils/AvielUtil.js - Update student handler
utils/GlenOngUtil.js - Student model
models/Student.js
File storage
- Student JSON data
- Initial data template
utils/students.template.json
Other components
- Student user
Connections 12
- Student user → Web page: uses
- Create form logic → Express app and routes: POST request
public/js/shayal-sammil.js - Update form logic → Express app and routes: PUT request
public/js/glen-ong.js - Student table logic → Express app and routes: fetches students
public/js/aviel-chua.js - Express app and routes → Create student handler: routes POST
index.js - Express app and routes → Update student handler: routes PUT
index.js - Express app and routes → Read students handler: routes GET
index.js - Create student handler → Student model: constructs
utils/ShayalSammilUtil.js - Create student handler → Student JSON data: reads and writes
utils/ShayalSammilUtil.js - Create student handler → Initial data template: loads fallback
utils/ShayalSammilUtil.js - Read students handler → Student JSON data: reads
utils/AvielUtil.js - Update student handler → Student JSON data: reads and writes
utils/GlenOngUtil.js