Go to file
tuxtina 2fcdc87e4f Changed *.vapor.sh URLs to use HTTPS 2017-02-04 16:07:53 +01:00
auth use new droplet init methods 2016-11-02 12:43:48 -04:00
deploy Correct typo in supervisor.md 2016-12-08 20:58:53 +11:00
fluent update two typos 2017-01-10 14:42:00 -06:00
getting-started Changed *.vapor.sh URLs to use HTTPS 2017-02-04 16:07:53 +01:00
guide Update config.md 2017-01-24 09:50:06 +02:00
http fixes vapor/vapor#805 2017-02-02 14:17:51 +01:00
routing Merge pull request #26 from eneko/patch-1 2017-01-13 20:03:51 +01:00
template also include echo tags 2016-11-17 12:11:24 -05:00
testing add note 2017-01-11 16:11:20 -06:00
websockets Websocket documentation 2016-11-08 03:45:50 +01:00
.gitignore add a Chinese Readme file 2016-11-12 15:14:43 +08:00
CONTRIBUTING.md contributing 2016-07-30 20:29:40 -04:00
README.es.md README en ES 2017-01-08 13:57:55 -06:00
README.md add multipart links to readme 2017-01-19 12:59:17 -05:00
README.zh-hant.md add VaporForm, Jobs, Heimdall’s Chinese description. 2016-12-18 15:44:49 +08:00
couscous.yml cors fix 2017-01-13 16:35:07 -05:00

README.md

Vapor Documentation

Stack Overflow

This is the documentation for Vapor, a Web Framework for Swift that works on iOS, macOS, and Ubuntu; and all of the packages that Vapor offers.

Vapor is the most used web framework for Swift. It provides a beautifully expressive and easy to use foundation for your next website or API.

To view the framework's source code and code documentation, visit Vapor's GitHub.

Read this in 正體中文

How To Read

You can read this guide by clicking through the folders and markdown files on GitHub or through the rendered GitHub Pages.

API

Auto-generated API documentation is located at api.vapor.codes.

Packages

Here are a list of all the packages and modules included with Vapor (also useable individually).

  • Vapor: Swift's most used web framework.
    • Auth: User authentication and persistance.
    • Sessions: Secure, ephemeral cookie based data storage.
    • Cookies: HTTP cookies.
    • Routing: Advanced router with type-safe parameterization.
  • Fluent: Models, relationships, and querying for NoSQL and SQL databases.
  • Engine: Core transport layers.
    • HTTP: Pure Swift HTTP client and server.
    • URI: Pure Swift URI parsing and serializing.
    • WebSockets: Full-duplex communication channels over a single TCP connection.
    • SMTP: Send email using Sendgrid and Gmail.
  • Multipart: Fast, streaming, non-blocking multipart parser and serializer.
    • Multipart: Parses and serializes multipart/mixed.
    • FormData: Parses and serializes multipart/form-data.
  • Leaf: An extensible templating language.
  • JSON: Maps Jay JSON to Vapor types.
  • Console: Swift wrapper for console IO and commands.
  • TLS: Swift wrapper for CLibreSSL's new TLS.
  • Crypto: Cryptography from LibreSSL and Swift.
    • Digests: Hashing with and without authentication.
    • Ciphers: Encryption and decryption
    • Random: Pseudo and cryptographically secure randomness.
    • BCrypt: Pure Swift implementation.
  • Node: Data structure for easy type conversions.
    • Polymorphic: Syntax for easily accessing values from common types like JSON.
    • Path Indexable: A protocol for powerful subscript access of common types like JSON.
  • Core: Core extensions, type-aliases, and functions that facilitate common tasks.
  • Socks: Swift C Socket API wrapper.

Providers & Other

Here are a list of providers and third party packages that work great with Vapor.

Authors

Tanner Nelson, Logan Wright, and the hundreds of members of Vapor.