Hands-On Server-Side Web Development with Swift
上QQ阅读APP看书,第一时间看更新

Creating a hello world app from a template

Use the vapor new command to create a new project from the default template:

# Step 1: Create helloWorld app from the default template
vapor new helloWorld

You'll see the following output on the Terminal:

Vapor created the project helloWorld and put it in a new directory with the same name.