Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- directory structure:
- - controllers
- - libraries
- - loaders
- - config
- - mocks
- - models
- - routes
- case standard usage :
- -> class = UpperCamelCase
- -> function = lowerCamelCase
- -> const = lowerCamelCase
- -> module = lowerCamelCase
- -> local variable = snake_case
- package that frequency used :
- -> async : rather than loop for, or for of
- -> multer : upload image
- -> multerS3 : upload image using AWS S3
- -> xendit node : xendit payment (generate VA & invoice)
- -> cryptoJS : encryption for token
- -> log4js : logging
- -> aws-sdk : aws sdk key integration
- -> faker : to make mock return more variative
- -> memcache-plus : managing cache
- -> redis : to get redis data
- -> moment : time conversion
- -> ampqlib : rabbitmq queue
Advertisement
Add Comment
Please, Sign In to add comment