Here’s this week’s recap of the Node.js related blogs we posted last week…
In this blog we’ll show just how easy it is to create Node.js powered REST APIs that conform to the new Swagger 2.0 specification using the LoopBack framework. If you are new to Swagger, it defines a standard, language-agnostic interface to REST APIs which allows both humans and computers to discover and understand the capabilities of the service without access to source code, documentation, or through network traffic inspection. If you are new to LoopBack, it is an open source Node.js API framework from StrongLoop. It is built on top of Express optimized for mobile, web, and other devices.
Using an asynchronous API for writing shell scripts and command line utilities in Node is inconvenient. Most shell scripts run top to bottom; it’s easier to block and stay synchronous than managing asynchronous state with callbacks. Thankfully, a fast, native implementation of synchronous child processes will be in Node 0.12. But, you can play with it today by installing an unstable release of 0.11 (my preferred way to do this is nvm).
At StrongLoop, supporting the Node.js community is a vital ingredient to our success. It’s important for us to do our part by not just contributing code back to the Node ecosystem, but also in supporting the individuals, organizations and events that make Node the fastest growing developer community in the world. Check out all the open source projects we help maintain plus all the Meetups and events we support as well.
Ready to start monitoring event loops, manage Node clusters and chase down memory leaks? We’ve made it easy to get started with monitoring either locally or on your favorite cloud, with a simple npm install.
- Ready to develop APIs in Node.js and get them connected to your data? Check out the Node.js LoopBack framework. We’ve made it easy to get started either locally or on your favorite cloud, with a simple npm install.