Skip to content

Latest commit

 

History

History
75 lines (48 loc) · 8.9 KB

README.md

File metadata and controls

75 lines (48 loc) · 8.9 KB

HealthHuddle 🙌

  • Health Huddle is an innovative platform designed specifically for hospital environments to foster better communication and support between doctors and patients.
  • The application allows both doctors and patients to easily register and log in. Once registered, users can utilize a comprehensive search function to find and add contacts, enabling seamless direct messaging.
  • One of the standout features of Health Huddle is its support group rooms. These rooms are designed for patients undergoing the same treatments, providing a safe and supportive space for sharing experiences, offering encouragement, and fostering a sense of community.
  • This feature aims to enhance patient motivation and well-being by connecting individuals who are navigating similar health journeys.
  • Overall, HealthHuddle is dedicated to improving the hospital experience by facilitating meaningful connections and support networks for both patients and healthcare providers.

Tech Stack 🧑‍💻

  • Frontend: React.js and Tailwind CSS
  • Backend : Node.js, Express , Socket.io
  • DataBase : MongoDB
  • Other Tools: Web Sockets, React Router Dom, Mongoose and socket.io-client

Features

User Authentication:

  • Login: Users can securely log into their accounts using their credentials.
  • Register: New users can create an account by providing necessary information such as username, email, password and a profile photo which they can upload.
  • Logout: Users can log out of their accounts securely, ensuring their session is terminated.

Contact Management

  • Users can search for other users and add them to their contacts.
  • Users can also delete their contacts if needed.
  • Select Contact for Messaging: Users can select any contact from their list to initiate a conversation.
  • This feature can be used by the patients to add the doctors or assistants to their contacts and get in touch with them.

Private Messaging

  • Doctors or the doctors assistant can get in touch with their patients through direct messages.
  • Patients can get in touch with their doctors and ask them doubts or questions

Rooms

  • This is a unique feature where a user can create a room for a particular reason
  • These rooms act as support groups for the patients
  • eg: CancerWarriors room is a room available.The users who join this room can talk to other patients who have gone through the same treatment. These support groups can play a vital role in the recovery of the patient.

Real-Time Messaging:

  • Online Users: If both users are online, messages are sent and received in real-time, ensuring instant communication.
  • Sockets for Real-Time Communication: The website uses WebSockets to facilitate real-time messaging, providing a seamless chatting experience.

Message Storage and Retrieval:

  • Database Storage: All messages are stored in a database to ensure they are not lost. This includes both sent and received messages.
  • Offline Message Delivery: Users who are offline will receive messages once they log back in, as messages are retrieved from the database.
  • Consistent Data: This approach ensures that all messages are preserved and can be accessed later, maintaining the continuity of conversations.

Offline and Online Messaging Synchronization

Offline Users: When a user is offline, any messages sent to them are saved in the database and will be delivered the next time they log in. Real-Time Updates: Online users receive messages instantly through WebSockets, and these messages are also stored in the database for consistency.

Related Projects

Future Enhancement

  • Making the user aware of the messages received when they were offline and sorting of the contacts accordingly.(In HealthHuddle only online users get notified when they receive a message)

Demo 😍😍