Skip to content

A decentralized healthcare system leveraging blockchain technology, granting patients complete control over their medical records through a secure and transparent network, ensuring data authenticity and privacy.

Notifications You must be signed in to change notification settings

dancoon/Medi-Vault

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Medi Vault

Instructions

  1. Fork the Repository:

    • Fork the repository to your GitHub account.
  2. Clone Your Fork:

    git clone <your-fork-url>
  3. Install Dependencies:

    npm i -y
  4. Install DFX:

    • It's recommended to use nvm and Node.js 20:

      curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.7/install.sh | bash

      Restart your terminal and then run:

      nvm install 18

      Check the node version being used:

      node --version
    • Install the dfx command line tools for managing ICP applications:

      DFX_VERSION=0.16.1 sh -ci "$(curl -fsSL https://sdk.dfinity.org/install.sh)"

      Check the installation:

      dfx --version

      If encountering "dfx: command not found," add $HOME/bin to your path. Example:

      echo 'export PATH="$PATH:$HOME/bin"' >> "$HOME/.bashrc"
  5. Start the canister:

    • Run the following commands in the root directory:

      dfx start --clean
  6. Deploy the canister:

    • In another terminal:
    dfx deploy
  7. Open the Deployed Link:

    • Open the link generated by dfx deploy in your browser.
  8. Test Endpoints:

    • Test all the endpoints from the browser UI.

Happy coding!

About

A decentralized healthcare system leveraging blockchain technology, granting patients complete control over their medical records through a secure and transparent network, ensuring data authenticity and privacy.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published