Make sure you have a Test Network running and connected with Metamask.
Instructions to run the DAPP:
- Make an account as the ADMIN account and using that account deploy the Central Database smart contract on Remix or using Truffle.
- Then add hospital accounts using update_hospital method by iteracting with the smart contract from the backend.
- After that paste the address of the Central database in the data.js file.
- Run
npm install
at the root of the SSMD directory. - Run
node server.js
to start the project - Go to localhost:3300/login.html to use the DAPP.