BackendServer

MongoDB Collections Documentation:

Repository Structure

Explore the main components of our project:

  1. Mobile Integration Documentation: Learn how the mobile app integrates with our API, facilitating seamless communication.

  2. API Endpoints Documentation: Comprehensive details about the API endpoints, including user management, messaging, and scheduling functionalities.

User Collection:

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:

Messages Collection:

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:

Schedules Collection:

This 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: