Vapor toolbox

So far, we have learned how to build web servers and a lightweight Vapor application using the swift package command. This is good for small-scale projects, but when we embark on building a production-ready application, we need more powerful tools that can generate, build, and run our server-side web application. Luckily, Vapor provides us with a command-line tool that makes it easy to create a new server-side web application by generating the files and folders needed for the Vapor application. This command-line tool can also build our Vapor application by installing our dependencies and then compiling our application, and can also run our application. This tool is also capable of deploying to the server. In short, the command-line ...

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.