Explore the main components of our project:
Mobile Integration Documentation: Learn how the mobile app integrates with our API, facilitating seamless communication.
API Endpoints Documentation: Comprehensive details about the API endpoints, including user management, messaging, and scheduling functionalities.
This collection serves as the backbone for user management, messaging, and scheduling functionalities within the API. It stores information about users with different roles (Normal users, Doctors, Admins) and is used for user authentication, authorization, providing user details, and supporting CRUD operations for user management. Here are the details of the collection:
users_id: Object ID (automatically generated by MongoDB)Email: StringPhonenumber: StringProfession: String (nullable)Fullname: StringGender: StringCity: String (nullable)Age: Integer (nullable)ImageUrl: String (nullable)Role: String (Normal, Doctor, Admin, etc.)Password: String (hashed)LicensePath: String (nullable, Doctor-specific)Specialization: String (nullable, Doctor-specific)YearOfExperience: Integer (nullable, Doctor-specific)Verified: Boolean (nullable, Doctor-specific)This collection logs interactions between users and the AI bot. It records messages sent by users and responses from the AI bot, helping track conversation history for users. Here are the details of the collection:
messages_id: Object IDContent: StringType: String (AI, Human)UserId: String (user’s _id from the users collection)CreatedDate: DateThis collection tracks scheduled appointments of doctors and users. It allows doctors to create schedules for appointments, stores information about scheduled appointments, including the doctor and scheduler IDs, and supports CRUD operations for managing schedules. Here are the details of the collection:
schedules_id: Object IDScheduleTime: DateConfirmed: BooleanSchedulerId: String (scheduler’s _id from the users collection)DoctorId: String (doctor’s _id from the users collection)