Giter Site home page Giter Site logo

bitimulate's Introduction

bitimulate

About

Bitimulate is compound word of Bitcoin and Simulate. This service provides a simulated cryptocurrency trading system. Data used in this service rely on realtime information at Poloniex.

Stack

Everything in this project is in JavaScript.

Frontend

Server

  • Node.js
  • Koa
  • MongoDB (mongoose)
  • Redis
  • Websocket

Running on your Machine

These instructions will get you a copy of the project up and running on your local machine for development or testing purposes.

Prerequisites

  • Node.js v8^
  • yarn
  • MongoDB
  • Redis

Installation

Clone this project from the github repository.

$ git clone https://github.com/webdev522/bitimulate

Install packages in both backend and frontend directory using following command:

$ yarn

Rename .env.bak file

You have to rename .env.bak file to .env in bitimulate-backend directory. This file contains environment variable for the server.

Uncomment the registerInitialExchangeRate line @ crawler

  await registerInitialExchangeRate();

This function crawls exchangerate data from poloniex and creates document for each currency.

Running Backend Development Server

To run the development server, execute following command inside bitimulate-backend directory:

$ yarn dev

Then, make sure you comment the await registerInitialExchangeRate(); again. I know this procedure is bit inefficient. I will come up with better solution later on :)

Running Frontend Webpack Development Server

To run the webpack-dev-server for frontend, execute following command inside bitimulate-frontend directory:

$ yarn start

Questions

Feel free to submit new issue when you have questions or find some bugs.

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.