This is intended to form the bases of a Vapor website, using Postgres as the database.
It defines and handles two model types:
It supplies pages to handle:
.leaf files are supplied with a simple user interface for this.
It is expected that a client of this library will:
A test project which uses this package as a client can be found here.
Lots of stuff! Including:
To test locally, you need to install postgres (
brew install postgresql).
By default the framework expects a database called "vaporbasetest", a user "vapor", with a password "vapor", running on "localhost" (these details can be changed when setting up a custom site).
You can use
psql postgres, to create the role and database:
CREATE ROLE vapor WITH LOGIN PASSWORD 'vapor'; ALTER ROLE vapor CREATEDB; CREATE DATABASE vaporbasetest;
If you later need to migrate a database after upgrading postgres, you can do it with
|Last commit: 3 weeks ago|
Added email verification using Mailgun.