How parthd14/mini-project-b3 works
Mini-Project-B3 is Team C’s placement data and transaction manager: an Express API backed by MongoDB/Mongoose. Clients enter through the server and its mounted APIs to manage students, drives, applications, interviews, offers, reports, and audit records. Application and offer handlers enforce transactional state changes and record audit/outbox data. The README provides no further capability details; interview, report, audit, and seed behavior is represented only where the source index establishes modules or relationships, so their internal flows are not expanded.
Main entry points: app.js Express server · seed.js Seed data · applicationRoutes.js Application API · offerRoutes.js Offer API
Components 18
API entry and routes
- Express server
app.js - Student API
routes/studentRoutes.js - Drive API
routes/driveRoutes.js - Application API
routes/applicationRoutes.js - Interview API
routes/interviewRoutes.js - Offer API
routes/offerRoutes.js - Report API
routes/reportRoutes.js - Audit API
routes/auditRoutes.js
Placement workflows
- Seed data
seed.js
Persistence records
- Student record
models/Student.js - Drive record
models/Drive.js - Application record
models/Application.js - Interview slot
models/InterviewSlot.js - Offer record
models/Offer.js - Audit log
models/AuditLog.js - Outbox event
models/OutboxEvent.js
Database setup
- MongoDB connection
config/db.js
Other components
- API clients
Connections 33
- API clients → Express server: send requests
app.js - Express server → MongoDB connection: connects
app.js - Express server → Student API: mounts
app.js - Express server → Drive API: mounts
app.js - Express server → Application API: mounts
app.js - Express server → Interview API: mounts
app.js - Express server → Offer API: mounts
app.js - Express server → Report API: mounts
app.js - Express server → Audit API: mounts
app.js - Student API → Student record: reads and writes
routes/studentRoutes.js - Drive API → Drive record: reads and writes
routes/driveRoutes.js - Drive API → Audit log: writes
routes/driveRoutes.js - Drive API → Outbox event: writes
routes/driveRoutes.js - Application API → Application record: reads and writes
routes/applicationRoutes.js - Application API → Student record: reads
routes/applicationRoutes.js - Application API → Drive record: reads
routes/applicationRoutes.js - Application API → Audit log: writes and reads
routes/applicationRoutes.js - Application API → Outbox event: writes
routes/applicationRoutes.js - Interview API → Interview slot: uses
routes/interviewRoutes.js - Offer API → Application record: reads and updates
routes/offerRoutes.js - Offer API → Drive record: reads and updates
routes/offerRoutes.js - Offer API → Offer record: reads and writes
routes/offerRoutes.js - Offer API → Audit log: writes
routes/offerRoutes.js - Offer API → Outbox event: writes
routes/offerRoutes.js - Report API → Application record: reads
routes/reportRoutes.js - Audit API → Audit log: reads
routes/auditRoutes.js - Seed data → Student record: populates
seed.js - Seed data → Drive record: populates
seed.js - Seed data → Application record: populates
seed.js - Seed data → Interview slot: populates
seed.js - Seed data → Audit log: populates
seed.js - Seed data → Offer record: populates
seed.js - Seed data → Outbox event: populates
seed.js