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

#78: Phoenix Contexts

Phoenix contexts are modules that group associated functionality. To see how they work, we’ll build a simple blog with comments. This is a great episode for anyone new to Phoenix or wanting to see how contexts work.

Watch episode
Alchemist's Edition

#77: Validating API Parameters Part 2

In this episode we’ll explore another way to validate API params. We’ll update our existing example to use the Params package, which reduces much of the boilerplate of defining Ecto schemas and changesets.

Watch episode
Alchemist's Edition

#76: Validating API Parameters Part 1

In this episode we’ll see how we can validate API parameters . We’ll take a simple search API and use schemaless Ecto changesets to validate the request parameters.

Watch episode