Guillerbr / baseapp

OpenDAX Trading user interface

Home Page:https://www.openware.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

OpenDAX BaseApp UI

FREE Open-Source UI for Trading and Wallets Management

Base React application to build a trading platform interface for use with OpenDAX: https://github.com/openware/opendax Why React? Well - it's fresh, fast, flexible, and you can do a lot of UI magic with it without reloading the pages.

You can see an example of a live application running at: https://demo.openware.com/

Install dependencies

$ yarn install

Run in developement mode

$ yarn start

Execute tests

In <rootDir>

$ yarn test

For more options for jest run yarn test --help.

Configuration documentation

Configuration file is located in public/config/env.js

Argument                 Description                                                
api     URLs of barong, peatio, applogic and ranger API endpoints. You can use mockserver (https://github.com/openware/mockserver) with default env.js values
minutesUntilAutoLogout               Autologout time in minutes
withCredentials               false or true if you want to include cookies as part of the request(https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Access-Control-Allow-Credentials)
captcha - captchaType        'recaptcha', 'geetest' or 'none'
captcha - siteKey       Recaptha site key
gaTrackerKey Google Analytics tracker key
rangerReconnectPeriod Reconnection time for the Ranger WS service in minutes
msAlertDisplayTime  Alert message display duration in milliseconds

Available Docker build args

While building a Docker image you can pass build-dependant arguments using --build-arg: docker build -t baseapp:latest --build-arg BUILD_DOMAIN="example.com" .

Argument Description
BUILD_EXPIRE Unix Timestamp of the build expiration date in seconds
BUILD_DOMAIN Domain which you'd like to use during the deployment

Happy trading with OpenDAX BaseApp UI

If you have designed something beautiful with it, we would love to see it!

And if you have any comments, feedback and suggestions - we are happy to hear from you here at GitHub or at https://openware.com

About

OpenDAX Trading user interface

https://www.openware.com


Languages

Language:HTML 57.8%Language:TypeScript 35.4%Language:CSS 5.2%Language:JavaScript 1.7%Language:Dockerfile 0.0%Language:Shell 0.0%