Create littlestar api

api(path_apps, path_data, validate = NULL, log_level = "info")

Arguments

path_apps

Path to the app directory root

path_data

Path to the location we will store our internal data (outside of the app tree)

validate

Logical, indicating if validation should be done on responses. This should be FALSE in production environments. See porcelain::porcelain for details

log_level

Logging level to use. Sensible options are "off", "info" and "all".

Value

A porcelain::porcelain object. Notably this does not

start the server