Systems | Development | Analytics | API | Testing

NodeJS

How to Use MongoDB and Mongoose with Node.js

Mongoose is Object Data Modeling (ODM) for MongoDB. It represents application data as JavaScript objects, mapped to the underlying MongoDB database. You can use Mongoose to model data, enforce schemas, validate models, and manipulate data in a database without familiarity with the underlying database semantics. In this tutorial, you will build an Express server with Mongoose that serves a RESTful API. Let's get started!

From zero to hero: using SQL databases in Node.js made easy

Despite the growing popularity of NoSQL databases such as MongoDB and Firebase among JavaScript developers, SQL databases remain a reliable and widely used tool for storing data. This tutorial will show you the basics of SQL databases and how to use them with Node.js.

Serverless Observability in N|Solid for AWS Lambda

We are excited to release Serverless Observability for N|Solid with support for AWS Lambda. With the growth of organizations leveraging serverless increasing as they realize the performance and cost benefits, we're excited to provide customers with this new visibility into the health and performance of their Node.js apps utilizing Serverless Functions utilizing serverless architectures. Img 1. Serverless Cloud Providers.

Express vs. Hapi: Which is the Best Node.js Framework for Web Development?

In this digital era, numerous frameworks are accessible for web development. Among them, Node.js, a JavaScript-based framework, holds significant importance in the IT industry. One of its key advantages is its versatility, allowing developers to utilize it for both client and server-side scripting tasks. As a server-side web application platform, Node.js is known for its speed and efficiency.

Empowering Startups: Building Better, More Secure Apps and Ensuring Exceptional CX with N|Solid

Startups face numerous challenges on their path to success, and two key aspects that significantly impact their growth are code quality and user experience. In today's fast-paced technological landscape, startups must prioritize these areas to build robust, scalable, and secure applications. This is where N|Solid can be a dynamic solution by providing powerful telemetry, insights, and security alerts for Node.js apps.

Welcome to The Future of Software Development: Powered by Telemetry, Security, and AI

We made some big announcements during our keynote at Collision in Toronto; our AI Assistant, Adrian, and the open sourcing of our Node.js Runtime, N|Solid Runtime. They are a big part of our vision for the future of software development, one that is powered by telemetry, security, and AI - which was the topic of our talk. In this post we will share more about our vision and specifically how NodeSource is enabling that future.

Building APIs with Node.js and gRPC

Building applications with gRPC is becoming an increasingly popular choice because of its performance and scalability. gRPC provides many benefits over traditional REST-based services, such as faster response times, better performance, and simpler code structure. In this comprehensive guide, we will walk you through the process of building a gRPC server using Node.js.

An Introduction to Playwright for Node.js

Test coverage plays a key role in providing bug-free experiences to users. At the same time, writing and maintaining test scripts for different web browsers is cumbersome and time-consuming. Fortunately, there is a solution! Playwright is a cutting-edge tool that makes it easy to automate modern web browsers. Through its powerful API, you can write end-to-end test scripts that run smoothly on different browsers. In this article, we'll cover: Let's dive straight in!

Understanding GraphQL: A Comprehensive Comparison With REST API and Its Implementation in Node.js

Application Programming Interface, or API, development is a critical aspect of modern software engineering, enabling diverse software systems to interact and share data seamlessly. The API serves as a contract between different software applications, outlining how they can communicate with one another. Two of the most popular architectural styles for building Web APIs are Representational State Transfer (REST) and GraphQL.

Multithreading with Worker Threads in Node.js

The beauty of Node is that while the main event loop runs in a single thread, some expensive tasks are automatically offloaded to a separate worker pool. These include the I/O-intensive DNS and File System (except fs.FSWatcher()) APIs, as well as the CPU-intensive Crypto and Zlib APIs. All these have a synchronous variation which will block the main thread. This is generally how Node accomplishes concurrency while running on a single thread.