Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/traitify/example_elixir
An example application to show a simple implementation of the Traitify API using the Elixir client.
https://github.com/traitify/example_elixir
Last synced: about 2 months ago
JSON representation
An example application to show a simple implementation of the Traitify API using the Elixir client.
- Host: GitHub
- URL: https://github.com/traitify/example_elixir
- Owner: traitify
- License: apache-2.0
- Created: 2014-10-27T16:54:33.000Z (about 10 years ago)
- Default Branch: master
- Last Pushed: 2014-10-27T16:57:49.000Z (about 10 years ago)
- Last Synced: 2024-04-14T23:53:53.540Z (9 months ago)
- Language: Elixir
- Size: 137 KB
- Stars: 1
- Watchers: 14
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Traitify Elixir Example
This is an example application to show a simple implementation of the Traitify API using the Elixir client.
To get started, clone the directory and run `mix deps.get```` bash
$ git clone https://github.com/traitify/example_elixir.git
$ cd example_elixir
$ mix deps.get```
Next, set the environment variables for the API host and your secret key. You can obtain a secret key from
the [developer portal](http://developer.traitify.com). Once you register on the site, you will be provided
a key as well as information on the API host.``` bash
$ export TRAITIFY_API_HOST=https://api-sandbox.traitify.com
$ export TRAITIFY_API_KEY=```
Finally, run `mix run --no-halt lib/example_elixir.ex` and navigate your browser to `http://localhost:4000`
If you have questions, please contact [[email protected]](mailto:[email protected])