Skip to content

Latest commit

 

History

History
64 lines (39 loc) · 1.39 KB

README.md

File metadata and controls

64 lines (39 loc) · 1.39 KB

GoodDollar DApp

Build Status Coverage Status

This project is intended to work aside with GoodServer project

Installation Web

Important: Use node version 10.15.0

Install

npm install

Run

Run web in dev mode

$ npm run web

Environments

Default environment variables are set up in .env.dev you can overload this variables by setting up .env which should include all required variables

Examples

Using kovan

REACT_APP_NETWORK_ID=121
REACT_APP_SERVER_URL=http://localhost:8888

Using a different server url. Please note that both server and dapp must use the same blockchain network and the same @goodcontracts version

Testing

We are using snapshot testing

# Web
$ npm run test:web

# Update Snapshots
$ npm run test:web -- -u

# Web watch mode
$ npm run test:web-watch

# Coverage - web
$ npm run coverage

More

This repository was initiated with create-react-native-web-app, please check the original readme file for more information.