This episode is part 3 in the Zero to Framework (building Alchemist Camp) series:
- Part 1 Making a site with just the Cowboy web server
- Part 2: Deploying with Nanobox (which no longer exists 😢)
- Part 3: this page
- Part 4: A minimal Plug.Conn clone to handle 404s
- Part 5: Adding EEx templates to a Cowboy web server
- Part 6: Putting an OTP app in our OTP app (pro)
- Part 7: Creating controllers for an Elixir web server
- Part 8: Creating a DSL for our router
Building on top of our very simple Cowboy server from part 1, we create a router so it's easier to add pages. Then we add functionality to handle static assets. Finally, we take advantage of that sweet, sweet 1-step deploy process we built in part 2.
Source code of the repo is available for members on the page for Part 7!
4 Comments
Hey, just to let you know, only premium members can have the source code :/
That's correct. I create more free Elixir screencasts than anyone else by a wide margin, but source code is usually a member's perk, especially for the longer series.
Please understand that those members are literally making it possible for me to make all these free tutorials you're using! Also, nothing was ever taken from you. This tutorial has been up for free on YT for well over a year and I only organized and put the source code online a few weeks ago, at the request of a paying customer.
Where can I find the source code for this episode?
"Source code of the repo is available for members on the page for Part 7!" I missed that message