github.com/qutheory/vapor-postgresql

PostgreSQL Provider for the Vapor web framework.


Keywords
cache, database, postgresql, swift, vapor, vapor-provider
License
MIT

Documentation

PostgreSQL Provider for Vapor

Adds PostgreSQL support to the Vapor web framework.

let postgresql = try VaporPostgreSQL.Provider(user: "root", password: "", dbname: "birdwatcher")

let app = Droplet(providers: [postgresql])

Install and link PostgreSQL

Follow the instructions at qutheory/postgresql to properly install and link PostgreSQL.