How mdouglasolivier-design/nextgen_academy works
This is a Django/DRF and Next.js university learning platform, with Phase 1 focused on free certificates. The apparent learner journey is to discover courses, enroll and learn, complete assessments, then receive or verify a certificate; staff have separate dashboard and activity views. The tree and excerpts establish the domain models and some staff analytics, but do not show most request handlers or certificate-generation logic. Accordingly, cross-layer workflow links are marked unverified rather than presented as observed calls.
Main entry points: academics/models.py Courses and lessons · client.ts API client · services.py Staff analytics · assessments/models.py Quizzes and attempts
Components 18
Web experience
- Public pages
frontend/src/app/(public)/page.tsx - Course catalog
frontend/src/app/(public)/courses/page.tsx - Student dashboard
frontend/src/app/(student)/dashboard/page.tsx - Certificate verification
frontend/src/app/(public)/verify/[code]/page.tsx - API client
frontend/src/lib/api/client.ts
Accounts and staff
- Login
frontend/src/app/(auth)/login/page.tsx - User accounts
backend/apps/accounts/models.py - Staff dashboard
frontend/src/app/(staff)/staff/page.tsx - Staff analytics
backend/apps/staff/services.py - Staff roles and audit
backend/apps/staff/models.py
Learning domain
- Courses and lessons
backend/apps/academics/models.py - Course serialization
backend/apps/academics/serializers.py - Enrollment and progress
backend/apps/learning/models.py - Quizzes and attempts
backend/apps/assessments/models.py
Certificates
- Certificate records
backend/apps/certificates/models.py - Certificate services
backend/apps/certificates/services.py
Other components
- Learner
- PostgreSQL
Connections 22
- Learner → Public pages: browses
- Learner → Course catalog: discovers courses
- Learner → Login: signs in
- Course catalog → API client: requests data
- Student dashboard → API client: requests data
- API client → Course serialization: calls API
- Course serialization → Courses and lessons: serializes
backend/apps/academics/serializers.py - Courses and lessons → Enrollment and progress: referenced by
backend/apps/learning/models.py - Quizzes and attempts → Courses and lessons: references course
backend/apps/assessments/models.py - Staff analytics → Courses and lessons: queries courses
backend/apps/staff/services.py - Staff analytics → Quizzes and attempts: queries attempts
backend/apps/staff/services.py - Staff analytics → Enrollment and progress: queries enrollments
backend/apps/staff/services.py - Staff analytics → Staff roles and audit: writes audit log
backend/apps/staff/services.py - Staff dashboard → API client: requests data
- Quizzes and attempts → Certificate records: qualifies for
- Certificate records → Certificate services: handled by
- Certificate verification → API client: checks code
- User accounts → PostgreSQL: persists to
- Courses and lessons → PostgreSQL: persists to
- Enrollment and progress → PostgreSQL: persists to
- Quizzes and attempts → PostgreSQL: persists to
- Certificate records → PostgreSQL: persists to