Git Product home page Git Product logo

rakeshprasanna / ibmplasmadonor Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 34.95 MB

Our project is a plasma donor application that connects plasma donors and recipients in India. Plasma is the liquid part of the blood that contains antibodies and can help fight infections. Plasma donation is a voluntary and safe procedure that can save lives, especially for COVID-19 patients who need plasma therapy.

Python 91.33% CSS 0.07% HTML 0.90% C 6.36% Rich Text Format 1.07% JavaScript 0.08% PowerShell 0.18% Batchfile 0.01% Dockerfile 0.01%

ibmplasmadonor's Introduction

IBMPlasmaDonor

Plasma Donor Application

This is a web application that connects plasma donors and recipients in India. It is developed using Python Flask framework and IBM Cloud services. It is part of the Naan Mudhalvan Project, which aims to create social impact through technology.

Features

Users can register as plasma donors or recipients by providing their personal and medical details. Users can search for plasma donors or recipients based on their location, blood group, and COVID-19 status. Users can contact each other through email or phone to arrange for plasma donation or transfusion. Users can view and edit their profile and donation history. Users can rate and review their plasma donation or transfusion experience.

Installation

To run this application locally, you need to have Python 3.6 or higher and pip installed on your system. You also need to have an IBM Cloud account and create the following services:

IBM Cloudant: A fully managed NoSQL database service that stores and queries the user data. IBM Watson Assistant: A conversational AI service that provides a chatbot interface for the application. IBM App ID: An authentication and authorization service that secures the application and manages user roles. To install this application, follow these steps:

Clone this repository to your local machine using the command:

git clone https://github.com/naan-mudhalvan/plasma-donor-app.git

Navigate to the project directory and create a virtual environment using the command:

cd plasma-donor-app python -m venv venv

Activate the virtual environment using the command:

venv\Scripts\activate

Install the required dependencies using the command:

pip install -r requirements.txt

Create a .env file in the project directory and add the following environment variables with your IBM Cloud service credentials:

CLOUDANT_URL= CLOUDANT_API_KEY= CLOUDANT_DB_NAME= ASSISTANT_API_KEY= ASSISTANT_URL= ASSISTANT_ID= APP_ID_TENANT_ID= APP_ID_CLIENT_ID= APP_ID_SECRET= APP_ID_OAUTH_SERVER_URL= APP_ID_REDIRECT_URI=

Run the application using the command:

python app.py

Open your browser and go to http://localhost:5000 to access the application.

Usage

To use this application, you need to register as a plasma donor or recipient by filling out a form with your personal and medical details. You will receive a verification email with a link to activate your account. Once you activate your account, you can log in to the application and access the following features:

Dashboard: You can view your profile and donation history, and edit your details if needed. Search: You can search for plasma donors or recipients based on your location, blood group, and COVID-19 status. You can also filter and sort the results by distance, availability, and rating. Contact: You can contact the plasma donors or recipients by clicking on their name and sending them an email or calling them on their phone. You can also view their profile and rating before contacting them. Chatbot: You can interact with the chatbot by clicking on the chat icon at the bottom right corner of the screen. The chatbot can answer your queries about plasma donation or transfusion, and provide you with useful information and resources.

Contribution

This application is open source and welcomes contributions from anyone who wants to improve it. If you want to contribute to this project, please follow these steps:

Fork this repository to your GitHub account. Create a new branch for your feature or bug fix. Make your changes and commit them with a descriptive message. Push your branch to your forked repository. Create a pull request to the main repository with a clear description of your changes. Wait for your pull request to be reviewed and merged.

ibmplasmadonor's People

Contributors

rakeshprasanna 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.