Giter VIP home page Giter VIP logo

blockchain-patient-data-manager's Introduction

Blockchain Patient Data Manager

This application was delivered as a final piece of coursework for my masters in computer science. The application is a Decentralised application and can be deployed to either a test or production blockchain.

This application stores data on public blockchain and also a private datastore (BigchainDB) Some basics to orientate yourself....

How to Guide for Setup

  1. The main app is written in NodeJS. Once you have pulled the project first rung
    npm install

This will load the project dependencies.

  1. If running locally you will then need to setup and install a local version of BigchainDB:

https://www.bigchaindb.com/ - Documentation here. BigchainDB will run on top of MongoDB. Please make sure this is installed already in your local environment.

  1. Setup a local version of a Blockchain. The easiest way to do this is via Ganache:

https://www.trufflesuite.com/ganache

  1. Ensure you have version of Python3 available on your local machine. The application uses a Python loader to load data into the application.

  2. Setup Metamask in a browser. Documentation here: https://metamask.io/

  3. Install Make on the local environment https://mg.readthedocs.io/make_tutorial/make_tutorial.html

How to Guide for using the application

    1. Start the BigchainDB server
    1. Cd the project directory and run
    1. Start ganache and ensure that it is running on this setting:

      host: "localhost",
      port: 7545,

    1. Run this command
npm install

If you have not already done so. This will install all dependencies for the project.

    1. Run this command
make load_reset

This will load a set of test data to access when using the app.

    1. Run this command
truffle migrate --reset

This will deploy the contract to Ganache

    1. Start the server
npm run dev

You should now be good to go and test out the application running locally on your own enviroment!

Enjoy!

blockchain-patient-data-manager's People

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.