Giter Site home page Giter Site logo

ufx-ui's Introduction

μfinex

μfinex (Microfinex) is an open-source UI library that lets you quickly build a trading interface connected to the Bitfinex API.

JavaScript Style Guide


Beta Disclaimer

Please be advised that the library is under development and has yet to reach a stable state. You may freely use the library, but be aware that it’s subject to breaking changes.


Getting started

Installation

Add ufx-ui to package.json#dependencies

{
  "dependencies": {
    "ufx-ui": "git+https://github.com/bitfinexcom/ufx-ui",
    ...
  }
  ...
}

Usage

// App.js

import React, { Component } from "react";

import { StoreProvider } from "ufx-ui";
import "ufx-ui/dist/css/index.css";

import Example from "./Example";

class App extends Component {
  render() {
    return (
      <StoreProvider>
        <Example />
      </StoreProvider>
    );
  }
}
// Example.js
import React, { Component } from "react";

import { QuickSwap } from "ufx-ui";

class Example extends Component {
  render() {
    return <QuickSwap />;
  }
}

Bug Reporting

Incase of a bug or issue, feel free to create a new issue or submit a pull request.

Contributing

Build storybook

npm install
npm run install:peer
npm run build:storybook

It will generate bundle at 'storybook-static' path

Build Example app

Environment variables for authentication:

REACT_APP_UFX_API_KEY=<api-key>
REACT_APP_UFX_API_SECRET=<api-secret>
npm install
npm run install:peer
cd example
<setup env variables at this path>
npm install
npm run build

It will generate bundle at 'example/build' path

License

Apache-2.0

ufx-ui's People

Contributors

bhoomij avatar jasonmhasperhoven avatar jeojoe avatar robertkowalski avatar prdn avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.