{"id":15063624,"url":"https://github.com/yugabytedb-samples/yugabytedb-simple-elixir-app","last_synced_at":"2026-01-05T22:07:27.359Z","repository":{"id":249865502,"uuid":"829443035","full_name":"YugabyteDB-Samples/yugabytedb-simple-elixir-app","owner":"YugabyteDB-Samples","description":"A simple Elixir app that connects to a YugabyteDB cluster and performs basic CRUD operations.","archived":false,"fork":false,"pushed_at":"2024-07-23T19:40:20.000Z","size":502,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2024-10-12T23:41:27.302Z","etag":null,"topics":["elixir","elixir-lang","elixir-phoenix","yugabyte","yugabytedb"],"latest_commit_sha":null,"homepage":"","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/YugabyteDB-Samples.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":"2024-07-16T12:42:49.000Z","updated_at":"2024-07-30T20:54:09.000Z","dependencies_parsed_at":"2024-07-23T21:56:20.731Z","dependency_job_id":null,"html_url":"https://github.com/YugabyteDB-Samples/yugabytedb-simple-elixir-app","commit_stats":null,"previous_names":["yugabytedb-samples/yugabytedb-simple-elixir-app"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/YugabyteDB-Samples%2Fyugabytedb-simple-elixir-app","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/YugabyteDB-Samples%2Fyugabytedb-simple-elixir-app/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/YugabyteDB-Samples%2Fyugabytedb-simple-elixir-app/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/YugabyteDB-Samples%2Fyugabytedb-simple-elixir-app/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/YugabyteDB-Samples","download_url":"https://codeload.github.com/YugabyteDB-Samples/yugabytedb-simple-elixir-app/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":219855431,"owners_count":16556170,"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-lang","elixir-phoenix","yugabyte","yugabytedb"],"created_at":"2024-09-25T00:04:59.943Z","updated_at":"2026-01-05T22:07:27.331Z","avatar_url":"https://github.com/YugabyteDB-Samples.png","language":"Elixir","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Simple Elixir Application for YugabyteDB\n\nThe code sample shows how to create a simple Elixir app that works with YugabyteDB using the [Postgrex driver](https://docs.yugabyte.com/latest/integrations/jdbc-driver/) or the [Phoenix framework](https://www.phoenixframework.org).\n\nThe instructions below are provided for [YugabyteDB Aeon](https://cloud.yugabyte.com/) deployments. However, the app also works with other types of deployments, including database instances running on [your own laptop](https://docs.yugabyte.com/preview/quick-start/docker/).\n\n## Prerequisite\n\n* [The latest versions](https://elixir-lang.org/docs.html) of the Elixir, Erlang VM, IEx and Mix.\n* If you plan to run the Phoenix sample app, then install all the [required components](https://hexdocs.pm/phoenix/installation.html). Note, you don't need to install Postgres for Phoenix as long as you'll use YugabyteDB.\n* Command line tool or your favourite IDE, such as IntelliJ IDEA, or Eclipse.\n\n## Start YugabyteDB Aeon Cluster\n\n* [Start](https://docs.yugabyte.com/latest/yugabyte-cloud/cloud-quickstart/qs-add/) a free instance of YugabyteDB Aeon.\n* Add an IP address of your machine/laptop to the [IP allow list](https://docs.yugabyte.com/latest/yugabyte-cloud/cloud-secure-clusters/add-connections/#manage-ip-allow-lists)\n\n![image](cloud-add-free-cluster.gif)\n\n## Run the App\n\nClone the application repo:\n\n```bash\ngit clone https://github.com/YugabyteDB-Samples/yugabytedb-simple-elixir-app.git \u0026\u0026 cd yugabytedb-simple-elixir-app\n```\n\nStart the app using the Postgrex driver or Phoenix framework:\n\n* [Simple Elixir App With Postgrex](postgrex/simple_app/README.md)\n* [Simple Elixir App with Phoenix](phoenix/simple_app/README.md)\n\n## Stay in touch\n\nHaving issues running this application or want to learn more from the Yugabyte community?\n\nJoin [our Slack channel](https://communityinviter.com/apps/yugabyte-db/register)!\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyugabytedb-samples%2Fyugabytedb-simple-elixir-app","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fyugabytedb-samples%2Fyugabytedb-simple-elixir-app","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyugabytedb-samples%2Fyugabytedb-simple-elixir-app/lists"}