- Notifications
You must be signed in to change notification settings - Fork0
A simple Elixir app that connects to a YugabyteDB cluster and performs basic CRUD operations.
License
NotificationsYou must be signed in to change notification settings
YugabyteDB-Samples/yugabytedb-simple-elixir-app
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
The code sample shows how to create a simple Elixir app that works with YugabyteDB using thePostgrex driver or thePhoenix framework.
The instructions below are provided forYugabyteDB Aeon deployments. However, the app also works with other types of deployments, including database instances running onyour own laptop.
- The latest versions of the Elixir, Erlang VM, IEx and Mix.
- If you plan to run the Phoenix sample app, then install all therequired components. Note, you don't need to install Postgres for Phoenix as long as you'll use YugabyteDB.
- Command line tool or your favourite IDE, such as IntelliJ IDEA, or Eclipse.
- Start a free instance of YugabyteDB Aeon.
- Add an IP address of your machine/laptop to theIP allow list
Clone the application repo:
git clone https://github.com/YugabyteDB-Samples/yugabytedb-simple-elixir-app.git&&cd yugabytedb-simple-elixir-app
Start the app using the Postgrex driver or Phoenix framework:
Having issues running this application or want to learn more from the Yugabyte community?
Joinour Slack channel!