Bearcoin
Project
A PHP project for my dynamic content delivery coursework.
//cfa one
Bearcoin Simulator
Category : Java
The goal of this project was to use PHP server-side code to allow users to create accounts and participate in a risk-free cryptocurrency trading platform. The real-time market data would be aggregated from the CoinMarketCap API. User account information, balances, and preferences are saved in a MySQL database. Because of the limitations of my current IaaS (no PHP), I cannot provide a demo. However, I can provide screenshots and code.
- Date : 10.24.2018
- Purpose : Dynamic Content Delivery
- Skills : PHP, HTML/CSS
display.php
Bitcoin.php
User_index.php
This PHP code fetches the live JSON API from CoinMarketCap and allows me to extract data from it for calculations and balances, etc.
This PHP code is responsible for communicating between a MySQL server (storage for user accounts, password, balances, etc.) and the API, as well as generating the HTML code needed to display data to the user.
This PHP code checks that a user is signed in and, if there is an account signed in, communicates with the MySQL server to access information about the account to be displayed on the dashboard. The API is also an integral part of this algorithm.