Creating a Vapor application using the toolbox

Now that we have the Vapor toolbox installed, we are ready to create our first Vapor application using the toolbox. You will find out how easy it is to create an app using the toolbox, as it scaffolds the files and folders needed to quickly get started. We will examine the files and folders and the application structure of our Vapor application to get a better understanding of how Vapor applications work. To get started, let's first create a Vapor application using the toolbox by following these steps:

  1. Create a new application using the vapor new command in the Terminal. By default, the vapor new command uses the API template, but we will use the web template to create a Greeter example app ...

Get Hands-On Full-Stack Development with Swift now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.