{"id":20731001,"url":"https://github.com/tyalt1/elixir_rebar_example","last_synced_at":"2025-12-25T04:52:37.233Z","repository":{"id":93257195,"uuid":"104379119","full_name":"tyalt1/elixir_rebar_example","owner":"tyalt1","description":"An example of Elixir built in a rebar project.","archived":false,"fork":false,"pushed_at":"2018-04-09T02:47:23.000Z","size":17,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-18T00:26:16.200Z","etag":null,"topics":["elixir","elixir-examples","erlang","erlang-developement","erlang-learning","rebar","rebar3"],"latest_commit_sha":null,"homepage":null,"language":"Elixir","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/tyalt1.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-09-21T17:37:59.000Z","updated_at":"2023-11-23T23:05:31.000Z","dependencies_parsed_at":"2023-03-10T05:15:22.078Z","dependency_job_id":null,"html_url":"https://github.com/tyalt1/elixir_rebar_example","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tyalt1%2Felixir_rebar_example","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tyalt1%2Felixir_rebar_example/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tyalt1%2Felixir_rebar_example/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tyalt1%2Felixir_rebar_example/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tyalt1","download_url":"https://codeload.github.com/tyalt1/elixir_rebar_example/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243012706,"owners_count":20221606,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["elixir","elixir-examples","erlang","erlang-developement","erlang-learning","rebar","rebar3"],"created_at":"2024-11-17T05:13:26.071Z","updated_at":"2025-12-25T04:52:37.206Z","avatar_url":"https://github.com/tyalt1.png","language":"Elixir","readme":"# elixir_rebar_example\n\nAn example of how to build Elixir code in a rebar project.\n\n## Build\n\n```\nWith Erlang/Elixir installed. Must have rebar3 in path or installed.\n$ make\n\nWith docker installed. Uses elixir docker container.\n$ make docker\n# make\n```\n\n## Run\n\nIn Erlang shell\n```\n$ rebar3 shell\nErlang/OTP 20 [erts-9.0.3] [source] [64-bit] [smp:4:4] [ds:4:4:10] [async-threads:10] [hipe] [kernel-poll:false]\nEshell V9.0.3  (abort with ^G)\n1\u003e 'Elixir.ComplexMath.Example':lazy_example().\n```\n\nIn Elixir shell\n```\n$ cd elixir_libs/elixir_example/\n$ iex -S mix\nErlang/OTP 20 [erts-9.0.3] [source] [64-bit] [smp:4:4] [ds:4:4:10] [async-threads:10] [hipe] [kernel-poll:false]\nInteractive Elixir (1.5.1) - press Ctrl+C to exit (type h() ENTER for help)\niex(1)\u003e ComplexMath.Example.lazy_example\n```\n\n## Tour of Elixir\n\nIncluded Elixir code is meant to be a whirlwind tour of Elixir features.\nThe target audience is Erlang developers.\n\nFile | Lessons\n-----|-------------\n`hello.ex` | Basic \"Hello, World!\" in Elixir.\n`complex_math` | Pattern matching and guards, list comprehension, lexical scope, module nesting, imports, lazy evaluation with Stream module, pipe operator, Task module used as a future, macros.\n`alt_server.ex` | How to write a `gen_server`/`GenServer` in Elixir. Introduce Agent had GenServer alternative.\n`otp.ex` | Example of OTP application. Includes starting supervisor without creating a separate module. Children are defined in `alt_server.ex`.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftyalt1%2Felixir_rebar_example","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftyalt1%2Felixir_rebar_example","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftyalt1%2Felixir_rebar_example/lists"}