Ecto in Elixir Applications: An Introduction

Learn how Ecto can be added to an Elixir application without using the Phoenix framework.

To add Ecto to a project requires a few more steps beyond just adding the hex package to our list of dependencies.

Most of the time, this isn’t much of a concern. Phoenix projects, for example, have Ecto included in their initial setup, as with the music application we were playing. However, there may be times when you’ll need to add Ecto to a project yourself. The next chapter will show how to do that by walking us through the following steps:

Get hands-on with 1200+ tech skills courses.