BLACK FRIDAY SALE: Save big on all my Swift books and bundles! >>

Vapor: Where are the source code downloads?

Forums > Server-side Swift


Just bought the VAPOR EDITION of Server Side Swift and there are no source code files accompanying it.

I checked GitHub TwoStraws to no avail.

Cheers, SDB


I have been going through this book; let me offer a couple of insights.

  1. The current Vapor/Leaf has enough breaking API changes that you should not copy/paste the source code and you should absolutely not use the template Paul provides, as it will not compile.
  2. The book is still useful, but you should, instead, work through the examples by using the existing template. Just delete the stuff you don't need.
  3. You'll definitely want to have the Leaf documentation up in a browser as you're working through, since there are significant changes to what commands are called and how they're denoted (colons instead of braces, etc.).


The book is for Vapor 3, so it is pretty far out of date. While there have not been many changes to Leaf, Vapor 4 is substantially different. It is disappointing that the book is still for sale without having a disclaimer that it is not currentl.


Hacking with Swift is sponsored by RevenueCat

SPONSORED In-app subscriptions are a pain to implement, hard to test, and full of edge cases. RevenueCat makes it straightforward and reliable so you can get back to building your app. Oh, and it's free if your app makes less than $10k/mo.

Learn more

Sponsor Hacking with Swift and reach the world's largest Swift community!

Archived topic

This topic has been closed due to inactivity, so you can't reply. Please create a new topic if you need to.

All interactions here are governed by our code of conduct.

Unknown user

You are not logged in

Log in or create account

Link copied to your pasteboard.