How no7to/sacsevi-videos works
Nexo Vial is a course-learning platform: learners register, choose and purchase or access a course, then progress through ordered video modules and server-graded evaluations. Instructors and administrators manage course content, learners, access and payments. The graph includes the documented video, payment, account, administration and expiry capabilities. Arrows are limited to relationships shown in the supplied excerpts or README; some routes and integrations are documented but unsampled.
Main entry points: client.js API client · payment.service.js Payment and access · access.service.js Course access · course.routes.js Course and progress API
Components 25
Web experience
- Site and routes
frontend/src/App.jsx - API client
frontend/src/api/client.js
Learning workflow
- Catalog and course pages
frontend/src/pages/Curso.jsx - Module and evaluation
frontend/src/pages/Modulo.jsx - Course and progress API
backend/src/routes/course.routes.js - Unlocking and grading
backend/src/services/course.service.js - Progress records
backend/src/models/Progreso.js - Courses and modules
backend/src/models/Curso.js - Checkout page
frontend/src/pages/Pago.jsx - Payment routes
backend/src/routes/payments.routes.js - Video streaming
backend/src/routes/stream.routes.js
Course operations
- Staff panel
frontend/src/pages/panel/VideoManager.jsx - Panel management API
backend/src/routes/panel.routes.js
Platform services
- Account and sessions
backend/src/routes/auth.routes.js - Payment and access
backend/src/services/payment.service.js - Mercado Pago
- Payment and video webhooks
backend/src/routes/webhooks.routes.js - Bunny Stream
backend/src/services/bunny.service.js - Course access
backend/src/services/access.service.js - Account and privacy
backend/src/routes/account.routes.js - Expiry jobs
backend/src/jobs/scheduler.js - Users and access
backend/src/models/User.js - Payment records
backend/src/models/Pago.js
Other components
- Learner
- Instructor / admin
Connections 29
- Learner → Site and routes: uses
- Site and routes → API client: requests data
frontend/src/App.jsx - API client → Account and sessions: auth requests
- API client → Course and progress API: course requests
- Catalog and course pages → API client: loads courses
- Module and evaluation → API client: sends progress
- Course and progress API → Unlocking and grading: calls
backend/src/routes/course.routes.js - Course and progress API → Courses and modules: reads modules
backend/src/routes/course.routes.js - Unlocking and grading → Progress records: records attempts
backend/src/services/course.service.js - Unlocking and grading → Courses and modules: loads course state
backend/src/services/course.service.js - Learner → Checkout page: starts purchase
- Checkout page → API client: requests checkout
- Payment routes → Payment and access: handles payments
- Payment and access → Mercado Pago: creates payment
backend/src/services/payment.service.js - Payment and access → Payment records: updates payment
backend/src/services/payment.service.js - Payment and access → Course access: grants or revokes
backend/src/services/payment.service.js - Mercado Pago → Payment and video webhooks: sends notifications
- Payment and video webhooks → Payment and access: applies payment
- Instructor / admin → Staff panel: manages courses
- Staff panel → API client: uses API
frontend/src/pages/panel/VideoManager.jsx - Panel management API → Bunny Stream: manages video
backend/src/routes/panel.routes.js - Payment and video webhooks → Bunny Stream: handles encoding event
backend/src/routes/webhooks.routes.js - Module and evaluation → Video streaming: plays module video
- Video streaming → Bunny Stream: requests signed stream
- Account and privacy → Course access: checks access
backend/src/routes/account.routes.js - Expiry jobs → Course access: expires course access
- Account and sessions → Users and access: creates account
- Course access → Users and access: reads user state
backend/src/services/access.service.js - Payment and access → Payment records: persists status
backend/src/services/payment.service.js