How ilix-studio/content-specific-system works
This is an Express API for institute accounts, course management, question banks, and payment-backed passkey issuance. The principal flow is an institute authenticating, managing courses, creating or retrieving question sets, then checking out and saving paid passkeys. Routes and controller-to-model/provider links below are grounded in sampled files; the tree also shows student-auth, nano-ID, and order-completion modules, but their wiring and behavior were not sampled, so they are not expanded.
Main entry points: index.js Express app · newPaymentController.js Checkout and passkeys · instituteAuthRoutes.js Institute routes · courseControllers.js Course management
Components 19
API runtime
- Express app
server/index.js - MongoDB connection
server/utils/dbConnection.js
Institute accounts
- Institute routes
server/routes/authR/instituteAuthRoutes.js - Institute auth
server/controllers/instituteAuthController.js - Institute records
server/models/auth/instituteAuthModel.js
Courses and exams
- Course management
server/controllers/aboutCourseController/courseControllers.js - Course records
server/models/transaction/courseModel.js - General-question routes
server/routes/mcqRoutes/generalQRoutes.js - General questions
server/controllers/mcqControllers/generalQuestionController.js - General question sets
server/models/mcqModels/generalQModel.js - Mock-question routes
server/routes/mcqRoutes/mockQRoutes.js - Mock questions
server/controllers/mcqControllers/mockQuestionController.js - Mock question sets
server/models/mcqModels/mockQModel.js
Payments and passkeys
- Payment routes
server/routes/payment/newPaymentRoutes.js - Checkout and passkeys
server/controllers/newPaymentController.js - Payment records
server/models/transaction/newPaymentmodel.js - Passkey records
server/models/transaction/nanoIdModel.js
Other components
- Institute
- Razorpay
Connections 19
- Institute → Express app: sends requests
- Express app → Institute routes: mounts routes
- Express app → General-question routes: mounts routes
- Express app → Mock-question routes: mounts routes
- Express app → Payment routes: mounts routes
- Institute routes → Institute auth: dispatches
- Institute auth → Institute records: reads and writes
- Institute routes → Course management: dispatches
- Course management → Institute records: reads
- Course management → Course records: reads and writes
- General-question routes → General questions: dispatches
- General questions → General question sets: reads and writes
- Mock-question routes → Mock questions: dispatches
- Mock questions → Mock question sets: reads and writes
- Payment routes → Checkout and passkeys: dispatches
- Checkout and passkeys → Razorpay: creates orders
- Checkout and passkeys → Payment records: creates and reads
- Checkout and passkeys → Passkey records: creates and reads
- Express app → MongoDB connection: connects