Skip to content

COSSE-Coin/getobox

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 

Repository files navigation

Getobox

This service is now available at https://getobox.com/

About

Getobox is compound word of Get , coin and box (Get coin box). This service provides a simulated cryptocurrency trading system. Data used in this service rely on realtime information at Poloniex.

Currently, Korean is the only supported language in this service. English, and other languages might be implemented later on...

Stack

Everything in this project is in JavaScript.

Frontend

Server

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

AWS

  • EC2
  • S3
  • Cloudfront
  • ElasticLoadbalancer

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/velopert/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

Open the crawler file and uncomment following code:

  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.

About

Virtual coin cryptocurrency trading system

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 84.8%
  • CSS 14.5%
  • HTML 0.7%