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

Alchemist's Edition

#109: DynamicSupervisor and Registry

In this episode we’ll pick up where we left off in #108 and refactor our application to create a process for each user shopping cart. To do this we’ll use DynamicSupervisor and Elixir’s Registry.

Watch episode
Alchemist's Edition

#108: Shopping Cart Part 2

In part 2 of this series we’ll add to our existing shopping cart by allowing users to remove items from their existing carts.

Watch episode
Alchemist's Edition

#107: Shopping Cart Part 1

There are many ready-made ecommerce solutions, but sometimes you need to write your own. In this episode we’ll start building custom shopping cart functionality into an existing application with OTP.

Watch episode