libflitter Templates

libflitter/templates/config

exports:  config

config(String name)

type:  function         returns:  String

Function to generate the contents for a new configuration file with name name.


libflitter/templates/controller

exports:  controller

controller(String name)

type:  function         returns:  String

Function to generate the contents for a new controller file with name name.


libflitter/templates/middleware

exports:  middleware

middleware(String name)

type:  function         returns:  String

Function to generate the contents for a new middleware definition file with name name.


libflitter/templates/model

exports:  model

model(String name)

type:  function         returns:  String

Function to generate the contents for a new model schema file with name name.


libflitter/templates/router

exports:  router

router(String name)

type:  function         returns:  String

Function to generate the contents for a new route definitions file with name name.

No Comments
Back to top