Skip to content

Smart decentralized health system built on blockchain.

Notifications You must be signed in to change notification settings

saranonearth/Bam

Repository files navigation

Bam

Bam is a decentralised health dashboard which simplifies the doctor-patient interaction in times of global pandemic

With Bam you can:

1. Book appointments with available doctor using secured blockchain storage. All of the patient data is decentralised and stored on the ethereum blockchain.
2. Have 1-to-1 Real Time Communication based Video Call with your doctor at the aforementioned appointment time.
3. Pay the doctor directly using eth (Currency used on the ethereum blockchain).
4. Get a digitally signed and secured prescription by the doctor which can be directly provided to a pharamacist. 
5. Converse with our NLP powered medical bot to have a preliminary diagnosis based on your provided symptoms.

Tech-Stack used:

1. ReactJs for client
2. Truffle for the decentralised app
3. Ethereum Blockchain
4. IPFS
5. Agora-SDK for 1-to-1 Real Time Communication
6. Infermedica API for Natural Language Processing
7. Web Speech API for Speech to Text Parsing

Untitled Diagram

File Structure

.
|-- contracts/  # Ethereum Smart Contracts for Blockchain deployments
|-- migrations/ # Directory to store the deployed ABI
|-- public/  # Static Files
|-- src/  # Files for the Bam Client
|-- test/ # Test Files for Smart Contracts
|-- .gitattributes
|-- .gitignore
|-- package-lock.json
|-- package.json
|-- truffle-config.json

User Appointments Screen

user-appointments

User Payments Screen

user-payments

Medical Bot in Action:

medical-bot

How to run locally:

Setup local blockchain with Ganache
Run truffle migrate --reset
Run npm start

Running tests:

cd test
Run truffle test