Skip to content

mAsyamJ/MedDok_Ai

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

55 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🏥 MedDok

License: MIT ICP React

A Web3-based medical documentation platform built on the Internet Computer Protocol (ICP).

📋 Table of Contents

📝 Description

MedDok is a decentralized application that helps healthcare professionals streamline their documentation process. By leveraging blockchain technology, it improves efficiency and accuracy in medical record keeping while ensuring enhanced security and data integrity.

✨ Features

  • Decentralized Storage: Medical documentation secured on the blockchain
  • Data Verification: Blockchain-based verification ensures authenticity
  • Appointment System: Schedule appointments and reminders
  • Modern UI/UX: Intuitive interface built with React and TypeScript
  • Enterprise Security: HIPAA-compliant storage solutions
  • Transparent Handling: Secure and verifiable data processing

🚀 Installation

# Clone the repository
git clone https://github.com/yourusername/MedDok.git

# Navigate to the project directory
cd MedDok

# Install DFX SDK (for ICP development)
sh -ci "$(curl -fsSL https://internetcomputer.org/install.sh)"

# Install dependencies
npm install

🖥️ Usage

# Start the local ICP network
dfx start --background --clean

# Generate the canister IDs
dfx generate

# Deploy the application
dfx deploy

# For frontend development
npm run dev

⚙️ Configuration

Configure the application by modifying the dfx.json file with your specific canister settings:

{
    "canisters": {
        "backend": {
            "main": "src/backend/main.mo",
            "type": "motoko"
        },
        "frontend": {
            "dependencies": ["backend"],
            "frontend": {
                "entrypoint": "src/frontend/src/index.html"
            },
            "source": ["src/frontend/assets", "dist/frontend/"],
            "type": "assets"
        }
    }
}

📚 API Reference

Canister Interfaces

// Example canister interface
actor {
    // Store a new medical document
    public shared(msg) func storeDocument(document: Document) : async DocumentId;
    
    // Retrieve a document by ID
    public query func getDocument(id: DocumentId) : async ?Document;
}

💻 Technologies Used

Category Technology
Frontend React with TypeScript
Backend Motoko on ICP
Storage ICP Canisters
Web3 Internet Computer Protocol

👥 Contributing

Contributions are welcome! Please follow these steps:

  1. Fork the repository
  2. Create your feature branch: git checkout -b feature/amazing-feature
  3. Commit your changes: git commit -m 'Add some amazing feature'
  4. Push to the branch: git push origin feature/amazing-feature
  5. Open a Pull Request

📄 License

This project is licensed under the MIT License.

📬 Contact

Created by the MedDok Team - feel free to reach out!

About

Hello, world! - created on ICP Ninja

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published