Coincase is a clone of the cryptocurrency trading site Coinbase. Coincase allows users to track, buy and sell cryptocurrencies.
- CoinGecko API: https://www.coingecko.com/api/documentations/v3
Upon login, users are greeted with charts depicting the performance of the top 6 cryptocurrencies.
The user is shown the worth of their entire portfolio, as well as the quantity of individual assets owned. Most items on Coincase are clickable, including the user's current assets, linking to that coin's show page. They are also shown their ten most recent transactions.
In the prices tab, users are able to once again view the top 100 coins and select one to trade, navigating them to the coin's show page. The user can sort the table alphabetically, by price, by price change, or by market capitilization (default).
A coin's show page features a prominent graph of the coin's daily performance. The user can trace over the graph with their mouse revealing the exact price at a given moment in time. The buy/sell box allows them to type in the quantity of that coin they wish to purchase. The total cost of the transaction is updated in realtime. The user's bank balance is shown as well.
Transactions are the key feature of Coincase. The rails powered backend compiles the users's transaction history to calculate their total portfolio worth, bank balance in usd, and current assets. As Coincase is a simulation, each user is 'gifted' $25,000 to start with (which used to be just enough to buy one bitcoin. Not anymore!).
bundle rails s npm run start
Deploy main branch through Heroku UI. Use buildpack Heroku-20 with Node.js, Ruby (in that order)