Skip to content

Latest commit

 

History

History
39 lines (28 loc) · 771 Bytes

README.md

File metadata and controls

39 lines (28 loc) · 771 Bytes

Mobius DApp Server

This repo provides a default implementation of Mobius DApp backend running on Webtask.io. It exposes some generic API calls, like /balance and /charge. If your DApp frontend requires something different, you can fork this repo and extend the API up to your needs.

Install

$ git clone https://github.com/mobius-network/dapp-server-js.git
$ cd dapp-server-js
$ yarn install

Configure

# Register an account on webtask.io:
$ yarn wt profile init

# Setup a new DApp for development:
$ yarn setup

Run

# Run locally
$ yarn dev

# Open development page
$ open dev.html

# Deploy to Webtask.io
$ yarn deploy

# Deploy to Webtask.io and re-deploy on changes
$ yarn watch