Skip to content
Haz edited this page Apr 2, 2017 · 6 revisions

You can think of a service as an internal node_modules folder. Instead of separating your modules into utils, helpers, middlewares etc., which makes you waste more time thinking where to put your internal module, we have just one place: services.

Examples of services:

  • api - module that handles API calls;
  • validation - validation helper for forms;
  • express-ssr - an express middleware that handles server side rendering.
Clone this wiki locally