This is a basic healthcare management system running on Ethereum blockchain. You can create a doctor profile, add patient details, fetch these details, and manage access permissions.
index.html
: The home page.create_doctor.html
: For creating a new doctor profile.add_patient_details.html
: For adding new patient details.get_details.html
: For fetching doctor and patient details.manage_access.html
: For managing access permissions.
add.js
: Contains the core logic for the Ethereum operations.index.js
: Express server to serve HTML files.
Each HTML page has a corresponding CSS file for styling.
- Clone the repository.
- Make sure you have Node.js installed.
- Run
npm install
to install the required packages. - Use
node index.js
to start the server. - Visit
http://localhost:3010/
in your browser.
- Create Doctor: Navigate to
create_doctor.html
and fill out the form. - Add Patient: Go to
add_patient_details.html
and fill out the form. - Get Details: You can fetch the details of doctors and patients through
get_details.html
. - Manage Access: You can manage access permissions from
manage_access.html
.