Code Monkey home page Code Monkey logo

mern-stack-trading-site's Introduction

MERN-Stack-Trading-Site

Cryptocurrency Arbitrage bot

About

A bot that continuously queries cryptocurrency exchanges for prices to check for an advantage that can immediately be capitalized on via arbitrage for instant profit. Backend Express.js API & Node.js container communicates with mongodb container to handle and data pertaining to authentication & session management, API Keys & user settings, and trade requests while updating the list of prices and arbitrage opportunities in the backend server's memory periodically. The React.js frontend communicates with the Express.js API to fetch user account data, prices, and trade suggestions as the user interacts with the UI. UI also includes a modal for visualizing and facilitating suggested trade opportunities but the backend does not yet fully execute trades, they are currently simulated as successful.

Setup

  1. clone repo with git or download contents git clone https://github.com/bear-gold/MERN-Stack-Trading-Site.git

  2. Install Docker and docker-compose

Run

Start app

  1. Open new terminal window
  2. docker-compose up (add --build if changes have been made since last docker-compose up)

Stopping app containers

  1. Ctrl/Cmd + C

Access the site as a client via browser: http://localhost:3000

API test: http://localhost:3001/api

Accessing db shell

  1. Open new terminal window
  2. docker exec -it mongo /bin/bash
  3. mongo

To exit mongo shell (or docker container's bash): exit

If you have some problem when you use this repository, Please contact me to follow Address.

Skype -> live:smiling.cstar

Email -> [email protected]

mern-stack-trading-site's People

Contributors

web3-literally 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.