You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
wai-lin edited this page Aug 6, 2022
·
5 revisions
NOTE:
This guide will explain how the internal code works with sample examples
and guide you through internal standardizations decisions.
Code Standards
Variables
Internal variables should prefix name with _ (eg. const _path = '/user').
example:
constusers=router.path('/users')// router.path() will return `_path` and `_handlerColl` variables// which is necessary for `setup` functionrouter.setup(app,{paths: [users],})