0.5.6 • Published 6 years ago
@pageboard/api v0.5.6
pageboard-api
Configuration
database
a connection string, any parameter of which can be overriden by the following parametersconnection.type
connection.user
connection.password
connection.host
connection.database
Commands
- pageboard api.migrate
Services
These services expose get, add, save, del functions.
user
identifies a user and its grants
children of a user are sitessite
identifies a site containing pages, belongs to one or several userspage
a web page, belongs to a siteblock
all other blocks are children of a page (or grand-children, recursively).
Permissions
A user have grants, and blocks have permissions.
- add
- save
- del
- read
Debug
DEBUG=pageboard:api DEBUG=pageboard:sql