April 2017
Intermediate to advanced
316 pages
9h 33m
English
Vapor (https://github.com/qutheory/vapor) is a popular Laravel/Lumen-inspired web framework that is MIT-licensed. It is purely written in Swift and is modular.
Vapor provides CLI tools to simplify building and running Vapor applications.
vapor new <project-name> can be used to create a new project, vapor build can be used to build the project and download dependencies, vapor xcode can be used to create the Xcode project, and vapor run can be used to run the project.
Vapor uses Swift Package Manager (SPM) as the dependency manager: starting an application with Vapor is as easy as importing Vapor and adding the following lines to the main file:
let drop = Droplet() drop.run()
Read now
Unlock full access