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.
- Host: GitHub
- URL: https://github.com/nodefactoryio/eatmybet
- Owner: NodeFactoryIo
- License: mit
- Created: 2018-06-11T06:54:59.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2020-11-30T14:09:02.000Z (over 5 years ago)
- Last Synced: 2023-03-06T13:17:11.952Z (over 3 years ago)
- Topics: docker, ethereum, ethereum-contract, ethereum-dapp, expressjs, nodejs, solidity, truffle, truffle-framework
- Language: JavaScript
- Homepage: https://eatmybet.com
- Size: 330 KB
- Stars: 7
- Watchers: 4
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README

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

## 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