Skip to content

VaporExamplesLab/ServerSideSwift__Index

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 

Repository files navigation

"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

Releases

No releases published

Packages

No packages published