User Story
As a user
When I visit /resources (or whatever we decide to call this route)
Then I can create a new resource,
View all resources,
View a single resource with all of its details,
Edit an existing resource, or
Delete a resource
Implementation Details
This page should be supported by a live view that uses LiveView live_actions to control what the user sees and how they can interact with the page.
Let's start by delivering:
- User can visit
/resources and see a list of all of the resources.
This should mount a live view with the live_action set to :index and display a list of all resources. For more info on routing with live_actions, see the docs here https://hexdocs.pm/phoenix_live_view/Phoenix.LiveView.Router.html#live/4-actions-and-live-navigation.
User Story
As a user
When I visit
/resources(or whatever we decide to call this route)Then I can create a new resource,
View all resources,
View a single resource with all of its details,
Edit an existing resource, or
Delete a resource
Implementation Details
This page should be supported by a live view that uses LiveView live_actions to control what the user sees and how they can interact with the page.
Let's start by delivering:
/resourcesand see a list of all of the resources.This should mount a live view with the
live_actionset to:indexand display a list of all resources. For more info on routing with live_actions, see the docs here https://hexdocs.pm/phoenix_live_view/Phoenix.LiveView.Router.html#live/4-actions-and-live-navigation.