Skip to content

traitify/example_elixir

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

$ 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. Once you register on the site, you will be provided a key as well as information on the API host.

$ export TRAITIFY_API_HOST=https://api-sandbox.traitify.com
$ export TRAITIFY_API_KEY=<your_unique_secret_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 support@traitify.com

About

An example application to show a simple implementation of the Traitify API using the Elixir client.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages