npm.io
0.5.6 • Published 7 years ago

@pageboard/api

Licence
MIT
Version
0.5.6
Deps
11
Size
87 kB
Vulns
3
Weekly
0

pageboard-api

Configuration

  • database
    a connection string, any parameter of which can be overriden by the following parameters

  • connection.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 sites

  • site
    identifies a site containing pages, belongs to one or several users

  • page
    a web page, belongs to a site

  • block
    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