-
Notifications
You must be signed in to change notification settings - Fork 293
Services
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.
Special thanks to @kybarg and @protoEvangelion for helping to write this Wiki. Please, feel free to edit/create pages if you think it might be useful (also, see #33)