Giter Club home page Giter Club logo

organ-donation-platform's Introduction

Contributors Forks Stargazers Issues


Logo

Organ Donation Platform

A dApp platform connecting organ donor and acceptor via ethereum blockchain.

Screenshots

Landing Page

Landing Page

Dashboard

Dashboard Page

Viewing Database

Database Viewing Page

Transplant Matching

Transplant Matching Page

(back to top)

Built With

  • Solidity
  • Node

(back to top)

Prerequisites

You would need these software installed on your machine to run the project.

node.js

Windows:

  1. Visit the NodeJS web page at https://nodejs.org/en/
  2. Download and install the LTS version.
  3. Download the installer and run it. This will install both NodeJS and NPM (Node Package Manager).

Note: If you're on Windows 11, make sure to have latest LTS version of nodejs installed, or else you'll probably run into some issues.

Arch Linux:

Open a terminal and type the following command.

sudo pacman -S nodejs npm

Ubuntu:

Open a terminal and type these commands in order.

  sudo apt update
  sudo apt install nodejs
  sudo apt install npm

RedHat, Fedora, CentOS:

sudo yum update
curl -sL https://rpm.nodesource.com/setup_14.x | sudo bash -

MacOS:

  1. Download the LTS application binary for MacOS.
  2. When the file finishes downloading, locate it in Finder and double-click on it.
  3. Go through the entire installation process.

Truffle

Open the command prompt or terminal and execute the following command.

npm install -g truffle

Ganache

Visit the Ganache webpage at http://trufflesuite.com/ganache/ Download the platform binary for your OS and install it.

Git

Arch Linux

sudo pacman -S git

Ubuntu

sudo apt update
sudo apt install git

Windows

Install gitbash from https://gitforwindows.org/

Installation

Download

  1. Open gitbash or terminal.
  2. Clone the repo.
    git clone https://github.com/rahulsabinkar/organ-donation-platform.git
  3. Traverse into the app folder.
    cd organ-donation-platform/app
  4. Install npm dependencies.
    npm install

Connect Ganache

While the npm dependencies are being installed, follow these instructions.

  1. Open ganache.
  2. Click on "New Workspace".
  3. Select "Add Project" and add the truffle-config.js file located in the folder "organ-donation-platform" you just downloaded.
  4. Confirm by pressing "Save Workspace" on the top-right corner.
  5. Navigate to the "Contracts" tab and you should notice DonorContract is not deployed.

Deploy Contract

Back in the gitbash or terminal window instance in which you were downloading npm dependencies, wait for it to finish up and then type in the following commands to deploy the contract.

truffle compile && truffle migrate

Run the server

Now that everything is set-up, you can run the server.

  1. Run the following command
    npm run dev
  2. Open a browser and go to http://localhost:8080/

(back to top)

Team Members

(back to top)

organ-donation-platform's People

Contributors

rahulsabinkar avatar saimanikantateja avatar sivharinair2001 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.