Condensed Phoenix Todo List Tutorial
- Install the required software: phoenix, elixir, and postgres
mix phx.new todo_list
cd todo_list
mix phx.gen.html TaskList Item items description:string complete:boolean
-
Add the resource to your browser scope in
lib/todo_list_web/router.ex
... get "/", PageController, :index + resources "/items", ItemController
mix ecto.migrate
mix phx.server
and navigate tohttp://localhost:4000/items