
About Vapor
Vapor is an open source framework for building HTTP servers, backends and APIs in Swift. It lets teams write server code in the same language they use for their apps.
What it does
Vapor provides routing, JSON handling and an asynchronous server built on Apple's SwiftNIO networking library. Its Fluent package lets you describe database models in Swift, and the JWT and Leaf packages cover token signing and HTML templates. Request handlers use Swift's concurrency features, so server code reads much like the rest of a Swift project.
Key features
- Routes that send and receive JSON
- Fluent for database models written in Swift
- JWT creation and verification
- Leaf templates for web pages and emails
- Compile-time type checks that catch many errors early
Who it's for
Swift developers who want to build their own backend without learning a second language. It also fits teams that already maintain an iOS or macOS app and need an API that matches it.
Pricing and good to know
Vapor is free and released under the MIT license, with its source on GitHub. You need a working Swift toolchain on your machine to build and run a project. Check the current documentation for deployment options before you choose a host.
Highlights
- Routes for JSON APIs and HTTP servers
- Fluent for database models written in Swift
- JWT signing and verification
- Leaf templates for HTML pages and emails
- Swift concurrency for async request handlers












