Sample elixir app that uses Ecto embedded schema.
- The sample app uses postgres hence have it run locally by running
docker-compose up -d
. - Initialize the database by running
mix ecto.setup
. - Experiment with embedded schemas by performing CRUDs to album by using
iex -S mix
. - There are pre-defined CRUD functions in
.iex.exs
to make the experiment easier. Feel free to use them.