Skip to content

mobius-network/flappy-dapp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

44 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Flappy DApp Example Repo

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.

Getting Started

Clone this repository:

$ git clone https://github.com/mobius-network/flappy-dapp.git

Backend Configuration

Choose 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.

Serverless Quickstart

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

Node.js API

Run 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-api

Python Flask API

Run 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-api

PHP API

Run 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-api

.NET Core API

Run 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-api

Frontend Configuration

The 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 frontend

Install Dependencies

$ yarn install

Set 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

About

Flappy Bird sample DApp in different languages

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published