Skip to content

Latest commit

 

History

History
70 lines (51 loc) · 3.23 KB

README.md

File metadata and controls

70 lines (51 loc) · 3.23 KB

"Server Side Swift with Vapor"
Vapor 3 + Swift 4

Prerequisites | Project Materials | API + Web Template | Resources

The "Server Side Swift with Vapor" video tutorial series is based on PostgreSQL, Swift 4 & Vapor 3. A completed project for the tutorial series is provided at raywenderlich/vapor-til.

The vapor-til-sqlite project replaces PostgreSQL with SQLite.

Prerequisites

Install Xcode 10 ⇗. Swift 4.2 installs as part of Xcode 10. Launch Xcode to complete an initial installation.

Install Homebrew ⇗

Verify Swift Installation

# review script
curl -sL check.vapor.sh # review script
# run script
eval "$(curl -sL check.vapor.sh)"
# ✅  Xcode 10 is compatible with Vapor 2.
# ✅  Xcode 10 is compatible with Vapor 3.
# 
# ✅  Swift 4.2 is compatible with Vapor 2.
# ✅  Swift 4.2 is compatible with Vapor 3.

Install Vapor

Add Vapor Homebrew tap repository. Install Vapor's toolbox and dependencies. The Vapor Toolbox provides a CLI tool for creating new projects.

brew tap --full vapor/homebrew-tap
brew update
brew info vapor
brew install vapor

Resources

API Tools

Deployment

Front-end Frameworks