Detailed Collection Schemas
{
"_id": "ObjectId",
"name": "string",
"email": "string (unique)",
"password": "string (hashed)",
"phoneNumber": "string",
"address": "string",
"role": "string (user | instructor | admin)",
"createdAt": "Date",
"updatedAt": "Date"
}
{
"_id": "ObjectId",
"title": "string",
"description": "string",
"instructorId": "ObjectId (User)",
"category": "string",
"price": "number",
"createdAt": "Date",
"updatedAt": "Date"
}
Last updated