This repository is dedicated to providing example API's using the different Mobius SDKs. The backend directory contains different API examples while the frontend of the Flappy Bird DApp is located in the frontend directory. Full documentation on this process can be found by choosing any example from the official Mobius Docs.
Clone this repository:
$ git clone https://github.com/mobius-network/flappy-dapp.gitChoose an API example you would like to run and navigate to that folder. Within each example, there are specific documentation instructions for setting the initial configuration.
Run an API example using Node.js, the mobius-client-js SDK with the ability to easily deploy using Webtask.io in minutes. Navigate to the serverless-quickstart directory to run this API. For full documentation on this example, visit the official Serverless Quickstart API docs.
$ cd backend/serverless-quickstartRun an API example using Node.js and the mobius-client-js SDK. Navigate to the nodejs-api directory to run this API. For full documentation on this example, visit the official Node.js API docs.
$ cd backend/nodejs-apiRun an API example using Python and the mobius-client-python SDK. Navigate to the python-flask-api directory to run this API. For full documentation on this example, visit the official Python Flask API docs.
$ cd backend/python-flask-apiRun an API example using PHP and the mobius-client-php SDK. Navigate to the php-api directory to run this API. For full documentation on this example, visit the official PHP API docs.
$ cd backend/php-apiRun an API example using .NET Core and the mobius-client-dotnet SDK. Navigate to the dotnet-core-api directory to run this API. For full documentation on this example, visit the official .NET Core docs.
$ cd backend/php-apiThe frontend of the application only needs minor setup and configuration to run. Full documentation on this process can be found by choosing any example from the official Mobius Docs.
Navigate to frontend
$ cd frontendInstall Dependencies
$ yarn installSet Endpoint in main.js
// The port may vary depending on what the local API is running on.
const DAPP_API = 'http://localhost:8080/api';Run localhost Server
$ yarn dev