I started working for a company that contracts out devs in Oct 2021. Because im not sure what information I can share about the work ive done for my current client, I created this app to demonstrate my fullstack web development knowledge using elixir/phoenix.
Crypto_fun is a phoenix umbrella application that consists of three apps:
binance:
- controls the fetching, formating, and saving of currency inforamtion from the binance api to crypto_engine database. The app fetches all pricing data availible for Binance.us
crypto_engine
- is the database responsible for handling queries from both binance and crypto_web
crypto_web
- is the front end component that is running off a phoenix live view page, chart js, and custom js. It allows the user to view a live graph of a selected crypto currency
in order to run this app locally you will have to have all the requirements installed for running a phoenix app on your pc or mac. If you do not have these requirements please visit the phoenix installation hex docs
- ensure postgres is running locally: i use a mac with homebrew, so for me the command is
brew services start postgresql
- download the crypto_fun repo to your local.
- navigate into crypto_fun directory using
cd crypto_fun
- setup the repo and all its dependancies with
mix setup
- create database with
mix ecto.create
- add database migrations with
mix ecto.migrate
- start your local server using
mix phx.server
- navigate to http://localhost:4000/ to view the app
this app can use alot of modifications, but for MVP sake... it is was it is.
additional modifications to app may come over time, but nothing is promised
App uses the Binance.us API for communication. Additional logic can be added to use the Binance API endpoints to buy/sell crypto currency. Given the right price points for a currency, logic can be created to buy/sell the currency between the price point. This would require alot of additional logic but hey, might be worth it 🙃.