What is Vapor?

Vapor is a Swift package that provides the APIs to build a web application. It consists of several Swift packages, and, contrary to what most people might think, Vapor is not a monolithic Swift package. It is rather small and modular, consisting of several Swift packages that are stitched together to create a very rich web framework. The Swift packages it depends on are created by the Vapor team and grouped together based on their functionality. So, anyone who wants to build their own web framework in Swift can do so by consuming these packages. Vapor is broken down into the following packages:

  • core: The core package contains core extensions, type-aliases, and functions that facilitate common tasks
  • bits: This is a small package ...

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.