A scalable prototype website that allows patients to access their medical data and interact with doctors and other medical workers. Website is built using React.js and system back-end composing of the Ethereum Blockchain network and InterPlanetary File System (IPFS).
- Ganache - Used to run a private Ethereum blockchain network locally on your device for test and development purposes. Downloaded and installed from here: https://trufflesuite.com/ganache/
Download the folder and open a terminal window in this directory, run npm install
to install all required libraries.
- Open the Ganache program and create a new project, open
truffle-config.js
and change the host and port if different. - Run
truffle migrate --reset
to deploy smart contract to the Ganache blockchain, once deployed the contracts should display on Ganache on the 'Contracts' tab. - Run
npm run start
to start the Node.js server for the website. Once initiated, the local URL for the website will be provided. - Press
Ctrl-C
to stop the Node server once finished.