How karamyacoub/ilm-verse works
Project type and purpose
• ILM-VERSE is a full-stack educational management system.
• Frontend: React + Vite + TailwindCSS (DaisyUI) single-page app.
• Backend: Node.js + Express REST API, with both SQL (Sequelize) and NoSQL (Mongoose) data stores, plus file‐storage for uploads (assignments, events, resources).
File structure
• Top-level “Frontend” and “Backend” folders clearly separate client and server.
• Backend:
• app.js / server.js – Express application bootstrap and server startup.
• Middlewares – auth, authorization, file validation.
• routers – Express Router for each role (admin, teacher, student, parent).
• controllers – one per resource (course, quiz, marks, absence, announcements, OTP, file upload/download).
• models – dual-stack persistence:
– models/SQL (Sequelize ORM) connecting to a relational DB.
– models/NOSQL (Mongoose) for document storage of assignments, events, quizzes.
• data – local file system storage for uploaded content.
• Frontend:
• src/pages – top-level routes (home, dashboards per role, login, error).
• src/components – shared UI bits and role-specific UI (admin panels, teacher, student, parent tabs).
• src/store – state management per domain (AuthStore, CourseStore, etc.).
• src/lib/axios.js – configured HTTP client.
README for architectural insights
• Role-Based Access Control via middleware layers.
• Hybrid persistence strategy (SQL + NoSQL).
• RESTful endpoint design.
• File upload/download endpoints.