A client to interact with UserService.
If available in Hex, the package can be installed as:
- Add
user_client
to your list of dependencies inmix.exs
:
```elixir
def deps do
[{:user_client, git: "https://github.com/ifyoudieincanada/user_client.git"}]
end
```
- Ensure
user_client
is started before your application:
```elixir
def application do
[applications: [:user_client]]
end
```
- Add
url
environment variable toconfig/config.exs
```elixir
config :user_client,
url: System.get_env("USER_SERVICE_URL")
```