Getting Started with Vapor¶
Check out the main Getting Started guide which covers Vapor specifically. This page is here mostly for consistency with the rest of the packages.
More in-depth information on the APIs included in Vapor, see the sub-sections to the left.
If you don't want to use one of Vapor's templates to get started, you can always include the framework manually.
// swift-tools-version:4.0 import PackageDescription let package = Package( name: "Project", dependencies: [ ... .package(url: "https://github.com/vapor/vapor.git", from: "3.0.0"), ], targets: [ .target(name: "Project", dependencies: ["Vapor", ... ]) ] )
import Vapor to access the APIs.
The rest of this guide will give you an overview of what is available in the Vapor package. As always, feel free to visit the API docs for more in-depth information.