Tinh96nb / DApp

Simple project Document manager with blockchain ethereum. Using truffle - solidity - reactjs webpack - IPFS.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

SmartContract - Solidity - Truflle - React - IPFS

Setup to run project

  • Before that, let's install Docker, Docker-compose
  • Setup MetaMask extension for browser, then create a account and a customRpc listen to port truffle 8545.

Setting ENVIRONMENT_VARS

$ cp .env.example .env
$ vim .env
# rewrite your env vars
  • final run command to start:
$ ./init.sh
$ cd client
# rewrite your env vars then
$ yarn install
$ yarn start

Struct folder

  • /ethereum: smartcontract.
  • /test: run test smartcontract.
  • /server: nodejs connect to smartcontract.
  • /migrations: init database.
  • /view: front-end reactjs.

About

Simple project Document manager with blockchain ethereum. Using truffle - solidity - reactjs webpack - IPFS.


Languages

Language:JavaScript 92.5%Language:Solidity 3.4%Language:CSS 3.2%Language:Shell 0.4%Language:Dockerfile 0.4%Language:HTML 0.2%