Skip to content

r-lawrence/crypto_fun

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Crypto_fun

CircleCI codecov

About this App

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

Installation:

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

  1. ensure postgres is running locally: i use a mac with homebrew, so for me the command is brew services start postgresql
  2. download the crypto_fun repo to your local.
  3. navigate into crypto_fun directory using cd crypto_fun
  4. setup the repo and all its dependancies with mix setup
  5. create database with mix ecto.create
  6. add database migrations with mix ecto.migrate
  7. start your local server using mix phx.server
  8. navigate to http://localhost:4000/ to view the app

Notes:

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

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published