Coder Social home page Coder Social logo

cryptocurrent / bitsquare_market Goto Github PK

View Code? Open in Web Editor NEW

This project forked from dan-da/bitsquare_market

0.0 1.0 0.0 8.67 MB

A simple web interface to view bitsquare markets

License: GNU Lesser General Public License v3.0

HTML 22.52% PHP 55.95% CSS 21.52%

bitsquare_market's Introduction

bitsquare_market

A simple web interface to view bitsquare markets.

This is a bare-bones implementation that reads the JSON files created by bitsquare and publishes an API for web clients to access them.

Performance, or lack thereof.

At present, no database is used and backend operations are very inefficient.

This is OK for the moment as there is little bitsquare data, but the implementation will need to be optimized when bitsquare volume picks up.

I have separated the data access classes such that it should be simple to plugin more efficient strategies.

Requirements

  • Apache or other webserver with php 5.5+
  • apcu extension. ( for shared mem caching. will run without, but slower. )

Installation

On ubuntu apcu can be installed with:

apt-get install php5-apcu

The website code can then be installed by:

  1. git clone this repository to your docroot or somewhere beneath it.
  2. cp settings.json.example settings.json
  3. edit settings.json and edit the value of "data_dir" to reflect the location of the bitsquare trade data files on your system.
  4. Make sure that bitsquare is running with flag --dumpStatistics true

Navigate in your browser to your webserver docroot.

That's it!

API

For now, just check out the API subdirectory. docs are todo.

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.