Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

lego-starter-kit

Package Overview
Dependencies
Maintainers
1
Versions
203
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

lego-starter-kit

Inspirated by: * https://github.com/developit/express-es6-rest-api/

  • 0.1.0
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
138
increased by16.95%
Maintainers
1
Weekly downloads
 
Created
Source

Inspirated by:

  • https://github.com/developit/express-es6-rest-api/

http://expressjs.com/en/advanced/best-practice-security.html http://expressjs.com/en/advanced/best-practice-performance.html https://strongloop.com/strongblog/compare-node-js-logging-winston-bunyan/?_ga=1.261653007.308269509.1461336254

Auth

Authorization Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJfaWQiOiI1NzU1NjU0YWYxZjJmODA1N2JhM2U3NWUiLCJ1c2VybmFtZSI6ImFkbWluIiwibmFtZSI6IkFkbWluIiwicm9sZSI6ImFkbWluIiwiaWF0IjoxNDY1MjU2Mzc2fQ._eEmsRtL_FuFOwVAtDf5GYio2YSvJwFB0lkSEMxkkbQ or ?token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJfaWQiOiI1NzU1NjU0YWYxZjJmODA1N2JhM2U3NWUiLCJ1c2VybmFtZSI6ImFkbWluIiwibmFtZSI6IkFkbWluIiwicm9sZSI6ImFkbWluIiwiaWF0IjoxNDY1MjU2Mzc2fQ._eEmsRtL_FuFOwVAtDf5GYio2YSvJwFB0lkSEMxkkbQ

"fatal" (60): The service/app is going to stop or become unusable now. An operator should definitely look into this soon. "error" (50): Fatal for a particular request, but the service/app continues servicing other requests. An operator should look at this soon(ish). "warn" (40): A note on something that should probably be looked at by an operator eventually. "info" (30): Detail on regular operation. "debug" (20): Anything else, i.e. too verbose to be included in "info" level. "trace" (10): Logging from external libraries used by your app or very detailed application logging.

Что из себя представляет модуль Что такое мидлвара? Что такое контроллер? Универсальный роут? Resourse ENDPOINT Возможность писать красивые АПИ ?

Controller is middleware (req) => (new Promise()) сам контроллер не должен принимать решение об отдаче данных клиенту Router is Express router

FAQs

Package last updated on 16 Jul 2016

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc