A trello-like todo board which shows off different dynamic form strategies with Phoenix LiveView.
The logged-in home page is the main todo dashboard. It contains sortable Lists, which are stream-based and can be re-ordered. Within each list, Todos can be manged and re-ordered. Each todo is implemented as an individual form.
The new List and edit List pages show examples of traditional nested forms with a dynamic inputs_for
for List notifications. The notification entries can be prepended, appended, re-ordered, and deleted using regular checkboxes and Ecto's new sort_param
and drop_param
options to cast_assoc
and cast_embed
.
To start your Phoenix server:
- Run
mix setup
to install and setup dependencies, and seed data - Start Phoenix endpoint with
mix phx.server
or inside IEx withiex -S mix phx.server
- The default user is
user@example.com
withpassword password
as the password. - Initial dummy data is seeded for the default user
Now you can visit localhost:4000
from your browser.
Ready to run in production? Please check our deployment guides.
- Official website: https://www.phoenixframework.org/
- Guides: https://hexdocs.pm/phoenix/overview.html
- Docs: https://hexdocs.pm/phoenix
- Forum: https://elixirforum.com/c/phoenix-forum
- Source: https://github.com/phoenixframework/phoenix