Code Monkey home page Code Monkey logo

mock-btc-exchange's Introduction

Mock trade bitcoin. Start out with $100,000 USD and play the real-time market prices. Your mock digital assets and money are secured on the exchange.

Users

Non-traders and non-investors looking to get a taste of the cryptocurrency space without risking real money.

Minimum viable product

  • User register & sign in
  • Show live market price
  • Mock buy/sell bitcoin
  • View digital asset portfolio

Functionality

Register & Sign In

Users can register and sign in using email and password. Our application uses JSON Web Tokens, a stateless authentication mechanism.

Trading

With a starting balance of $100,000 USD, users can trade bitcoin at the current market value. Enter the amount you want to buy/sell.

Real-time Market Price

The exchange tracks the live price using Gemini's API. Prices updated in real time using fetch (JavaScript) -- no need to refresh the page!

Track Portfolio

User balances are saved in the database so your digital assets can be re-accessed with a simple sign in.

Installation

rails 5 and postgresql required.

bundle install
rails db:create db:migrate

Running the app

foreman start

Issues

  • Implementing associations resolved by reading the guide referenced below and adding the table reference in the scaffold generation command

Known bugs

  • Generated tests do not pass since I removed some controller endpoints resolved by updating integration tests accordingly

References

Contributors

Jonathan Cruz

Licence

MIT. Copyright (c) Jonathan Cruz.

mock-btc-exchange's People

Contributors

jcruz avatar

Watchers

David 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.