node

5 Best Practices for Designing RESTful APIs

April 13, 2020

RESTful APIs are everywhere, powering more of the modern world than any other API architecture. REST accounts for up to 80% of API saccording to this study by ProgrammableWeb. How those APIs are built and structured can make or break a company in today’s ultra-competitive world. Poorly-designed APIs can be difficult to use, can fail when they are needed most, and are valuable targets for hackers looking for sensitive data. On the other hand, a well-designed API that utilizes best practices makes development a breeze, attracts new customers, and creates confidence among users that can boost retention rates.

Continue reading

Best Practices for Logging in Node.js

August 30, 2018

Logging is one of those Node.js functions that’s easy to take for granted — until some unexpected event results in hours, sometimes days, of searching through log files to pinpoint the source of a problem. Node.js apps create basic text logs just like any other application. These logs can be easily generated using open source logging libraries, such as the Winston or Bunyan libraries.

Continue reading