Application Integration with Database

Learn how to modify your application to work with the database.

Now that we have a database, we need to set up our application to connect to it.

Note: You are encouraged to follow along and update your testing_ecto application if you have a local setup. Otherwise, we have updated all the files for you in the code widget at the end of the lesson.

Updating our application

The first thing is that we need to add two new dependencies into the deps section of your mix.exs file:

Get hands-on with 1200+ tech skills courses.