Backend services built with the Serverless Framework on AWS Lambda are enormously popular and powerful, but unfortunately often difficult to secure in the cloud. We present the terraform-aws-serverless project, which provides battle-tested, fine-grained IAM privilege isolation to help lock down your Serverless Framework applications.
MongoDB is a document-based NoSQL database, and is a popular choice for applications in the Node ecosystem. This post is about testing in Node with MongoDB, however, and not about why you should or should not use MongoDB, so I’ll leave it to the pundits on Hacker News to hash that out.
A complex distributed computing problem application developers may encounter is controlling access to a resource or entity in a multi-user, concurrent environment. How can we guard against an arbitrary number of concurrent processes from potentially mutating or even having any access to an entity simultaneously?
YesNo is a new library for Node.js that simplifies how we write tests asserting the actual behavior of our HTTP requests.
Long before Node.js famously entered the backend development scene, the tech industry had experienced several evolutions of the "Next Big Thing" with both successful and failed patterns and techniques. In this article, we look at some of the shortcomings of Node.js programming models and how TypeScript offers the hope of increasing the legitimacy of Node.js ecosystem in the enterprise by bringing back some storied and successful programming paradigms from the past.
Node.js engineers spend significant amounts of time developing from the console. The usual workflow I've encountered goes something like: npm run test && node index.js which then dumps pages of text to stdout. Errors can easily go unnoticed when large volumes of output are...