1. Install the required software: phoenix, elixir, and postgres
  2. mix phx.new todo_list
  3. cd todo_list
  4. mix phx.gen.html TaskList Item items description:string complete:boolean
  5. Add the resource to your browser scope in lib/todo_list_web/router.ex

         ...
         get "/", PageController, :index
     +   resources "/items", ItemController
    
  6. mix ecto.migrate
  7. mix phx.server and navigate to http://localhost:4000/items

View the Code