Subscribe for only $15 to access all of our content

#55: Defining Routes and Structuring Data

In part 1 of our ‘Order History’ series we’ll look at how our existing application is structured. Then we’ll see how we can fetch data from Stripe’s API to build our receipts. Once we know the structure of our data, we’ll define an Elixir Struct to format it. Finally we’ll use the Phoenix HTML generator to build the skeleton of our “order history” and receipt pages.

Join to Subscribe

More Episodes

#106: Intro to Structs

In this episode we’ll get an introduction to Elixir structs. Great for anyone just getting started with Elixir.

Watch episode

#105: How to Create Nested Phoenix Templates

By default, Phoenix doesn’t precompile templates in nested directories. In this episode we’ll see how we can update Phoenix to let us use templates in nested directories.

Watch episode
Alchemist's Edition

#104: Generating RSS Feeds with Elixir

In this episode we’ll take an existing Elixir Phoenix application and build an Atom feed for it. To build the feed we’ll use the Atomex package.

Watch episode