Learn practical TypeScript patterns with interfaces and extended classes. Avoid messy console.log() statements with Winston and the Node.js debug module. Create an Express.js-powered REST API back end from scratch!
As patterns go, REST APIs are so useful and ubiquitous that every web developer, regardless of language or platform, should know how to build one.
Node.js developers often find themselves working with chaotic code that’s anything but clean. This can obviously cause productivity issues and outright errors.
In this article, Toptal Full-stack Developer Jay Huang will introduce you to error-handling in Node.js and demonstrate how you can build a robust error-handling system yourself.
The main artifact of all your work is most likely plain text files. So why don't you use Notepad to create them? Find out how the Language Server Protocol can transform text editors into code editors, without coupling.
Micro-frontend architectures decompose a front-end app into individual, semi-independent "microapps" working loosely together. This can help make large projects more manageable, e.g. when transitioning from legacy codebases.
Nearly every app requires an authorization system on top of an authentication system. We often need a fine-grained permissions model to allow only specific users to access certain resources while simultaneously restricting access for everyone else.
In this tutorial, Toptal Freelance Firebase Developer Joaquin Cid teaches how to build just such a system. Called role-based authentication, we'll learn how to implement this system in an API using Node.js and Firebase.