Server-Side Swift with Vapor, Episode 2: Hello World | Kodeco, the new raywenderlich.com

In this episode learn how to install the Vapor toolbox to create your first Vapor project! Learn the very basics of routing to see how to create your own routes.


This is a companion discussion topic for the original entry at https://www.kodeco.com/21451628-server-side-swift-with-vapor/lessons/2

In both the book and the video, it says that the Sources directory should have an App directory and a Run directory. I do not have a Run directory. Please advise.

Hi @vulcanccit - Vapor changed the default template a few months ago, mainly to support async stuff. So there’s no issue, you can continue on and don’t need to worry

1 Like

Thank you sir! What about Main.Swift? no longer needed?

Correct, the @main entrypoint allows us to use async code properly so main.swift is no longer needed

1 Like

Thank you so much Tim!