An open API service indexing awesome lists of open source software.

https://github.com/nodefactoryio/eatmybet

Repository for backend server and ethereum smart contracts of EatMyBet dApp.
https://github.com/nodefactoryio/eatmybet

docker ethereum ethereum-contract ethereum-dapp expressjs nodejs solidity truffle truffle-framework

Last synced: over 1 year ago
JSON representation

Repository for backend server and ethereum smart contracts of EatMyBet dApp.

Awesome Lists containing this project

README

          

![NodeFactory](banner.png)

# EatMyBet

Repository for backend server and ethereum smart contracts of EatMyBet dApp.

![CircleCI branch](https://img.shields.io/circleci/project/github/NodeFactoryIo/eatmybet/master.svg)

## Requirements

Following software is required to be installed to use this repo:
* [NodeJs](https://nodejs.org/en/) >= v8.4.0

## Usage

On first use of this repo, run `npm run init` which will install
all required dependencies for running tasks. Then run `npx run build` which will
build docker image.

Run `npx run` to see all available commands:
- node:test - Runs nodejs tests
- node:dev - Starts application and all dependent services
- contracts:clean - Delete contract artifacts
- contracts:deploy - Run all missing migrations to deploy contracts to ethereum network. Command accepts param with id of network
- contracts:redeploy - Run all migrations again to deploy contracts to ethereum network. Command accepts param with id of network
- contracts:compile - Compiles all contracts
- contracts:test - Runs tests against contracts in docker. It accepts test name as optional argument
- clean - Removes all build directories and dependencies
- lint - Runs eslint on current project
- build - Builds new docker image