{"id":18399455,"url":"https://github.com/akmalhisyammm/myhealth","last_synced_at":"2026-04-28T18:31:54.726Z","repository":{"id":217100398,"uuid":"736640102","full_name":"akmalhisyammm/myhealth","owner":"akmalhisyammm","description":"Decentralized healthcare platform built on the Intenet Computer using Next.js and Azle.","archived":false,"fork":false,"pushed_at":"2024-01-14T08:45:14.000Z","size":13622,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-16T02:46:11.514Z","etag":null,"topics":["azle","blockchain","chakra-ui","decentralized-application","healthcare","internet-computer","nextjs","smart-contract"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/akmalhisyammm.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2023-12-28T13:04:36.000Z","updated_at":"2024-01-14T08:48:10.000Z","dependencies_parsed_at":"2024-01-14T15:42:52.968Z","dependency_job_id":"bbe409c2-d37b-4b1a-af52-861a8d77f4b2","html_url":"https://github.com/akmalhisyammm/myhealth","commit_stats":null,"previous_names":["akmalhisyammm/myhealth"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/akmalhisyammm%2Fmyhealth","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/akmalhisyammm%2Fmyhealth/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/akmalhisyammm%2Fmyhealth/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/akmalhisyammm%2Fmyhealth/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/akmalhisyammm","download_url":"https://codeload.github.com/akmalhisyammm/myhealth/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248593561,"owners_count":21130310,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["azle","blockchain","chakra-ui","decentralized-application","healthcare","internet-computer","nextjs","smart-contract"],"created_at":"2024-11-06T02:27:23.179Z","updated_at":"2026-04-28T18:31:49.707Z","avatar_url":"https://github.com/akmalhisyammm.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# MyHealth\n\nMyHealth is a decentralized healthcare platform built on the Intenet Computer. With decentralized data storage, user data will be securely stored on the blockchain. We are open to any hospitals that wants to connect their systems with MyHealth.\n\n## Motivation\n\nWe realized that there are security issues with centralized data storage in the medical field, which is still adopted by most hospitals today. With centralized data storage, all patient data is stored centrally on a hospital's server, so patients have no control over their data. Therefore, MyHealth was created to overcome these problems by converting centralized data storage into decentralized data storage. With decentralized data storage, patients have full control over who can access their personal data and medical records. In addition, patients can also visit various hospitals using existing data, so that patients can feel safer and easier when visiting various hospitals.\n\n## Requirements\n\n- [IC SDK](https://internetcomputer.org/docs/current/developer-docs/setup/quickstart)\n- [Node.js](https://nodejs.org/en/)\n- [jq](https://jqlang.github.io/jq/)\n\n## Installation\n\nClone this repository:\n\n```bash\ngit clone https://github.com/akmalhisyammm/myhealth.git\ncd myhealth\n```\n\n`jq` is a command-line JSON processor you will use to run scripts in this project. If you don't already have it installed:\n\n```bash\nsudo apt update \u0026\u0026 sudo apt install -y jq\n```\n\n`dfx` is the tool you will use to interact with the IC locally and on mainnet. If you don't already have it installed:\n\n```bash\nnpm run install:dfx\n```\n\nNext you will want to start a replica, which is a local instance of the IC that you can deploy your canisters to:\n\n```bash\nnpm run start:replica\n```\n\nInstall project dependencies:\n\n```bash\nnpm install\n```\n\nNow you can deploy your canister locally:\n\n```bash\nnpm run deploy:local\n```\n\nStart the project in development mode:\n\n```bash\nnpm run dev\n```\n\nAssuming you have [created a cycles wallet](https://internetcomputer.org/docs/current/developer-docs/quickstart/network-quickstart) and funded it with cycles, you can deploy to mainnet like this:\n\n```bash\nnpm run deploy:mainnet\n```\n\nIf you ever want to stop the replica:\n\n```bash\nnpm run stop:replica\n```\n\n## Structures\n\n```\n.\n├── public/             # Static files\n├── scripts/            # Script helpers\n├── src/\n│   ├── app/            # Next.js app router (Frontend)\n│   ├── contract/       # Azle canister (Backend)\n│   ├── declarations/   # Frontend and Backend connector\n│   └── lib/            # Project libraries\n├── LICENSE\n├── README.md\n├── dfx.json            # DFX configurations\n├── next-env.d.ts\n├── next.config.js\n├── package-lock.json\n├── package.json\n├── tsconfig.json\n```\n\n## Features\n\n### Owner (Terminal Only)\n\n- Able to add a new hospital.\n\n- Able to verify all users.\n\nTo initialize you as the owner, you need to run the following command:\n\n```bash\ndfx canister call myhealth_backend initCallerAsOwner\n```\n\nTo verify user, the owner needs to get a list of unverified users by running the following command:\n\n```bash\ndfx canister call myhealth_backend getUnverifiedUsers\n```\n\nCopy the user ID that the owner wants to review, then run the following command to verify:\n\n```bash\ndfx canister call myhealth_backend reviewUser '(\u003cUSER_ID\u003e, true)'\n```\n\nIf the owner wants to reject the user, the owner can change the second parameter to `false`:\n\n```bash\ndfx canister call myhealth_backend reviewUser '(\u003cUSER_ID\u003e, false)'\n```\n\nExample:\n\n```bash\ndfx canister call myhealth_backend reviewUser '(principal \"kxauy-kjdop-wjmxk-i2mvu-x5d5o-oljmp-mawxf-lax7h-bhfzx-5zzao-gae\", true)'\n```\n\n### Admin\n\n- Able to verify all patient, doctor and nurse in the same hospital.\n\n### Doctor\n\n- Able to change his/her practice schedule.\n- Able to confirm or reject appointments made by patients.\n- Able to view all medical records of patients who have scheduled appointments.\n- Able to review the patient's medical record after the scheduled appointments.\n\n### Nurse\n\n- Able to review all medical records of patients after the scheduled appointments with doctors at the same hospital.\n\n### Patient\n\n- Able to create and delete appointments with doctors (if not confirmed yet).\n- Able to view all of his/her medical records.\n\n## Authors\n\n- [Muhammad Syiarul Amrullah](https://github.com/muhammadarl)\n- [Muhammad Akmal Hisyam](https://github.com/akmalhisyammm)\n- [Rilo Anggoro Saputra](https://github.com/riloanggoro)\n- [Irwan Prasetyo](https://github.com/vroken)\n- [Dzul Jalali Wal Ikram](https://github.com/DzulJalali)\n\n## Credits\n\n- [Freepik](https://www.freepik.com/)\n\n## License\n\nThis project is licensed under MIT License. Please see the [LICENSE](./LICENSE) for more information.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fakmalhisyammm%2Fmyhealth","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fakmalhisyammm%2Fmyhealth","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fakmalhisyammm%2Fmyhealth/lists"}