.
├── backend
│ ├── contracts
│ │ ├── artifacts
│ │ │ ├── Lottery.json
│ │ │ └── Lottery_metadata.json
│ │ └── Lottery.sol
│ ├── compile.js
│ ├── deploy.js
│ ├── package-lock.json
│ └── package.json
├── frontend
│ ├── public
│ │ ├── favicon.ico
│ │ ├── index.html
│ │ ├── logo192.png
│ │ ├── logo512.png
│ │ ├── manifest.json
│ │ └── robots.txt
│ ├── src
│ │ ├── assets
│ │ │ └── logo.png
│ │ ├── contracts
│ │ │ └── Lottery.json
│ │ ├── App.css
│ │ ├── App.js
│ │ ├── index.css
│ │ ├── index.js
│ │ └── reportWebVitals.js
│ ├── package-lock.json
│ └── package.json
├── screenshots
│ ├── app.png
│ ├── contract.png
│ ├── log.png
│ └── remix.png
├── License
└── README.md
9 directories, 28 files
# git clone
git clone https://github.com/varandrew/tiger-lottery.git
# change dir
cd tiger-lottery
# install dependencies
yarn
# compile
node backend/compile.js
# deploy
node backend/deploy.js
# serve
cd frontend && yarn start