ER Diagram

Our database schema uses MongoDB with collections representing core entities. Below is a high-level Entity-Relationship overview:

// User
β”‚
β”œβ”€β”€ has many β†’ Transactions
β”œβ”€β”€ has many β†’ Certificates
β”œβ”€β”€ enrolls in many β†’ Courses
β”‚
Course
β”‚
β”œβ”€β”€ has many β†’ Lessons
β”œβ”€β”€ has many β†’ Reviews
β”œβ”€β”€ has many β†’ Certificates
β”‚
Lesson
β”‚
β”œβ”€β”€ has many β†’ Content (Video, PDF)
β”‚
Transaction
β”‚
β”œβ”€β”€ belongs to β†’ User
β”œβ”€β”€ belongs to β†’ Course
β”‚
Certificate
β”‚
β”œβ”€β”€ belongs to β†’ User
β”œβ”€β”€ belongs to β†’ Course
β”‚
Review
β”‚
β”œβ”€β”€ belongs to β†’ User
β”œβ”€β”€ belongs to β†’ Course
β”‚
Content
β”‚
β”œβ”€β”€ belongs to β†’ Lesson

Last updated