UNPKG

citizen

Version:

Node.js MVC web application framework. Includes routing, serving, caching, session management, and other helpful tools.

11 lines (8 loc) 191 B
// [pattern] controller // default action export const handler = async (params, context) => { let content = await [appName].models.[pattern].content() return { local: content } }