Skip to content

Latest commit

 

History

1 Commit

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Healthcare Blockchain Backend

A blockchain-based healthcare record management system.

Features

  • Patient registration with blockchain verification
  • Medical record management
  • Record history tracking
  • Blockchain integrity verification
  • Digital signatures for records

Environment Variables

  • MONGODB_URI: MongoDB connection string
  • PORT: Server port (default: 3000)
  • PRIVATE_KEY: Private key for digital signatures

API Endpoints

  • POST /api/patients - Register new patient
  • GET /api/patients/:patientId - Get patient details
  • POST /api/medical-records - Create medical record
  • PUT /api/medical-records/:recordId - Update medical record
  • GET /api/medical-records/:recordId/history - Get record history
  • GET /api/medical-records/:recordId/verify - Verify record integrity
  • GET /api/verify-blockchain - Verify entire blockchain

Deployment

  1. Fork this repository
  2. Create a new Web Service on Render
  3. Connect your GitHub repository
  4. Add environment variables:
    • MONGODB_URI
    • PORT
    • PRIVATE_KEY
  5. Deploy!

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages