Tag: Nodejs
-
How to abort API requests in JavaScript
Posted on July 5, 2022, Level intermediate Resource Length medium
Did you know that you can abort an API request in JavaScript? By aborting, I mean canceling a request before it is completed (before you get a response or before the request gets to the server). By Dillion Megida.
Tags app-development javascript web-development nodejs
-
How to migrate a REST API to GraphQL the smart way with StepZen
Posted on April 9, 2022, Level intermediate Resource Length medium
How GraphQL might be a better fit for your next project than RESTful APIs. By plainenglish.io.
Tags nodejs nosql apis devops
-
Dependency injection in JavaScript: Write testable code easily
Posted on March 25, 2022, Level beginner Resource Length medium
I struggled with two aspects of software development as a junior engineer: structuring large codebases and writing testable code. Test-driven development is such a common technique that is often taken for granted, but it's not always clear how code can be made fully testable. By Nate Anderson.
Tags nodejs javascript web-development frontend tdd
-
A complete guide to TypeScript's never type
Posted on March 12, 2022, Level intermediate Resource Length medium
TypeScript's never type is very under-discussed, because it's not nearly as ubiquitous or inescapable as other types. A TypeScript beginner can probably ignore never type as it only appears when dealing with advanced types, such as conditional types, or reading their cryptic type error messages. By Zhenghao.
Tags programming javascript app-development frontend nodejs
-
Deep dive on Angular I18n with ngx-translate
Posted on February 1, 2022, Level intermediate Resource Length long
Learn how to internationalize Angular apps step by step with the help of ngx-translate, one of the most popular open-source libraries for i18n. By Ankit.
Tags frontend angular nodejs javascript app-development
-
Search indexing best practices for top performance (with code samples)
Posted on January 22, 2022, Level intermediate Resource Length medium
Every search interface relies on a fast back-end data-indexing process that keeps its search results up to date in as timely a manner as possible. But search indexing is only one side of the coin. The other side is the real-time speed of a high-quality relevant search engine. By Peter Villani.
Tags performance nodejs javascript nosql app-development
-
DevOps for Node.js engineers: Building and publishing JavaScript application artifacts
Posted on January 21, 2022, Level beginner Resource Length medium
An artifact is a single portable file that allows us to deploy our application. It usally is an archive of the project with its dependencies (or not) but could also be a executable binary file. By Florian Goto.
Tags nodejs javascript web-development app-development
-
How to build a GraphQL data layer for REST microservices
Posted on January 10, 2022, Level intermediate Resource Length medium
GraphQL is a great technology for microservices because you can use it as a data layer for these microservices. One use case is to combine the data from all these services into a single, unified API. By Roy Derks.
Tags apis serverless javascript nodejs nosql json restful
-
How serverless saved money on my heating bill
Posted on January 5, 2022, Level beginner Resource Length medium
Built a serverless application as a weekend project to help me save money on my heating bill. In doing so, I experienced something great about building websites in 2022. By Cameron McHenry.
Tags analytics serverless javascript nodejs app-development open-source how-to
-
Fundamentals of functional programming with React
Posted on December 31, 2021, Level intermediate Resource Length medium
Understanding the concept of functional programming is a valuable skill for React developers. It is an important topic that most React beginners often overlook, making them encounter problems when understanding how React makes some of its decisions. By Ibadehin Mojeed.
Tags functional-programming react nodejs web-development javascript
-
Comparing SPAs to SSG and SSR
Posted on December 22, 2021, Level beginner Resource Length medium
What are the differences between Single Page Apps (SPA), Server Side Rendered Sites (SSR), and Static Site Generator based sites (SSG)? How do they compare in performance, SEO, developer experience, and flexibility? In this article, we give you an in-depth comparison of SPA, SSR, and SSG to help you make an informed decision on which strategies to use for your next front-end project. By Jacob Jackson.
Tags frontend css web-development angular javascript nodejs react
-
Write function overloads using JSDoc and TypeScript
Posted on November 1, 2021, Level beginner Resource Length medium
I like TypeScript, but I prefer the JSDoc syntax for writing it. That should be obvious if you've read any of my JavaScript articles, especially Get Started With TypeScript the Easy Way. By Austin Gil.
Tags javascript app-development web-development nodejs