Skip to content

alecap7/ethereum-react-material-petshop

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ethereum-react-material

A Drizzle + React + Material UI Petshop PoC implementation.

Features

  • Ethereum interaction is completely achieved through the drizzle redux store.
  • UI is implemented by combining react and the material design.

Installation and usage

This repo has been tested on Node.js v11.15.0 (Ubuntu). It currently fails on node versions >= 12.

If you are using nvm, type:

$ nvm use 11

Otherwise make sure you are using Node.js v11.15.0.

Ethereum app setup

$ truffle develop
$ truffle(develop)> migrate

Or, if you are using ganache-cli:

$ ganache-cli -p 9545
$ truffle migrate

Your blockchain is now up and running!

React client setup

The React frontend application is under the client folder

$ cd client
$ yarn
$ yarn start

You are ready to test!