An open API service indexing awesome lists of open source software.

https://github.com/mrdotb/probuild_ex

:star: League of Legends Probuild clone in elixir
https://github.com/mrdotb/probuild_ex

elixir phoenix probuilds riot-api

Last synced: about 2 months ago
JSON representation

:star: League of Legends Probuild clone in elixir

Awesome Lists containing this project

README

        

# ProbuildEx

Companion code for the [series](https://mrdotb.com/posts/probuild-ex-part-one/)

To start probuild ex:
- Install dependencies with `mix deps.get`
- You need to get a token from https://developer.riotgames.com/ and put it in `config/dev.local.exs`
```elixir
import Config

# Setup the riot token
config :probuild_ex, ProbuildEx.RiotApi, token: ""
```
- You need postgres you can use [docker](https://www.docker.com/)
```shell
docker compose -f docker-compose.dev.yml up -d
```
- Create and migrate your database with `mix ecto.setup`
- Start Phoenix endpoint with `mix phx.server` or inside IEx with `iex -S mix phx.server`

Now you can visit [`localhost:4000`](http://localhost:4000) from your browser.

## Learn more

* Official website: https://www.phoenixframework.org/
* Guides: https://hexdocs.pm/phoenix/overview.html
* Docs: https://hexdocs.pm/phoenix
* Forum: https://elixirforum.com/c/phoenix-forum
* Source: https://github.com/phoenixframework/phoenix