Building an Action
Learn about how to generate boilerplate HTML and how to set routes in phoenix.
We'll cover the following
Building the Phoenix application
The first thing we’ll need is a simple way to list all the menu items we have in our system so we can then take further action. If you aren’t familiar with server-side rendering in Phoenix, don’t worry. We’ll cover everything we need to know here. In order to avoid writing a ton of HTML boilerplate, we’ll use one of the Phoenix generators, and then replace the generated controller contents as needed.
Get hands-on with 1400+ tech skills courses.