The intent of this repo is to practice my Elixir knowledge by making use of the GitHub API.
Special thanks to the authors of the amazing doc Creating testable HTTP API client code in Elixir.
Concepts applied:
This is an app that only work trough commands typed in the terminal after running it using iex. To have an idea of what the app does start reading lib/elixir_testable_http_api_client/repo_contest.ex.
- Install mise (previously
rtx) ,cdinto the project directory and run:
mise installcdinto the project directory and run:
mix deps.get- Compile and start the project by running:
iex -S mix- Play around with the repo contest functionality by running:
ElixirTestableHttpApiClient.GithubApi.get_repos_for_org("elixir-lang")OR
ElixirTestableHttpApiClient.RepoContest.head_to_head("org-1", "org-2")Remember to change
org-1andorg-2to the GitHub orgs you want to compare.
cdinto the project directory and run:
mix test