We need to implement a minimal full stack application with authentication using all libraries in devfractal.
Use drizzle-orm to implement the following tables and relationships.
Student can be part of many Courses.
Teacher can teach many Courses.
- Each
Course has many Tasks.
- Users can be
Student, Teacher or Admin.
Business Rules
- Only admins can create courses, teachers and students.
- Only admins can assign students and teachers to courses.
- Teachers can create tasks for their courses.
- Students can only read tasks from their courses.
We need to implement a minimal full stack application with authentication using all libraries in devfractal.
Use drizzle-orm to implement the following tables and relationships.
Studentcan be part of manyCourses.Teachercan teach manyCourses.Coursehas manyTasks.Student,TeacherorAdmin.Business Rules