Giter Club home page Giter Club logo

ehealth's Introduction

Medical Patient Management System

This is a comprehensive Medical Patient Management System built using Next.js, Tailwind CSS, DaisyUI, Firebase Authentication, Express.js, Node.js, and MongoDB. The system is designed to allow doctors and nurses to manage patient records securely.

Features

  • User Authentication: Utilizes Firebase Authentication for secure user login and authentication.
  • User Roles: Supports two user roles - Doctor and Nurse, each with specific permissions.
  • Patient Management: Allows doctors to add, update, and delete patient records.
  • Prescription Management: Enables doctors to attach prescriptions (as PDF files) to specific patients.
  • File Upload: Uses multer npm package for handling file uploads (prescriptions).
  • Backend API: Express.js powered backend with MongoDB as the database for storing patient and prescription data.
  • Responsive UI: Built using Tailwind CSS and DaisyUI to ensure a responsive and visually appealing user interface.

Prerequisites

Before getting started, ensure you have the following installed:

Installation

  1. Clone the repository:
git clone https://github.com/justJubair/eHealth.git
  1. Navigate to the project directory:
cd eHealth
  1. Install dependencies:
npm install
  1. Set up Firebase Authentication:

    • Create a Firebase project on the Firebase console.
    • Enable Firebase Authentication and choose the authentication methods (e.g., Email/Password).
    • Obtain your Firebase configuration credentials.
    • Create a .env.local file in the root directory and add your Firebase configuration:
    NEXT_PUBLIC_FIREBASE_API_KEY=your-api-key
    NEXT_PUBLIC_FIREBASE_AUTH_DOMAIN=your-auth-domain
    NEXT_PUBLIC_FIREBASE_PROJECT_ID=your-project-id
    NEXT_PUBLIC_FIREBASE_STORAGE_BUCKET=your-storage-bucket
    NEXT_PUBLIC_FIREBASE_MESSAGING_SENDER_ID=your-sender-id
    NEXT_PUBLIC_FIREBASE_APP_ID=your-app-id
  2. Set up MongoDB:

    • Install MongoDB and ensure it's running.
    • Create a .env file in the root director of server and add your mongoDB connection string
     dbURL = "mongodb+srv://YourDB:[email protected]/?retryWrites=true&w=majority&appName=Cluster0"
  3. Start the development server:

npm run dev
  1. Visit http://localhost:3000 in your browser to access the application.

Usage

  • Doctor Role: Log in with a doctor account to add, update, or delete patient records. Additionally, doctors can upload prescriptions for patients.
  • Nurse Role: Log in with a nurse account to update patient records.
  • Patient Management: Add new patients, update patient details, and delete patients as necessary.
  • Prescription Management: Attach prescriptions (PDF files) to specific patients for record-keeping.

Contributing

Contributions are welcome! Feel free to open issues or pull requests for any improvements or fixes.

Acknowledgments

Author

Your Name - Jubair Ahmed

Contact

For any inquiries or support, please contact [email protected].


ehealth's People

Contributors

justjubair avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.