Node.js
45 items tagged with "nodejs"
Tutorials10
Migrating from Express to Fastify
Step-by-step tutorial for migrating a Node.js Express application to Fastify for better performance
Containerizing a Node.js Application
Learn to create optimized Docker containers for Node.js applications
Implementing Redis Caching in Node.js
Add Redis caching to your Node.js application for improved performance
Database Management with Prisma
Set up Prisma ORM for type-safe database access
Real-time Communication with WebSockets
Implement real-time features using WebSockets
How to build a CRUD API on Amazon DynamoDB
Model data and implement create, read, update, and delete operations against Amazon DynamoDB from Node.js.
How to evolve a database schema with Prisma Migrate
Use Prisma Migrate to turn schema.prisma changes into versioned SQL migrations and apply them in dev and production safely.
How to set up a Node and TypeScript project with Vitest
Create a TypeScript project on Node.js, configure the compiler, and write fast unit tests with Vitest.
How to build and test a Node.js REST API with Jest and Supertest
Build a small Express REST API and test its endpoints with Jest and Supertest, including setup and teardown.
Scan a Node.js/TypeScript Project for Upgrade Drift
Run your first Vibgrate CLI scan on a Node.js/TypeScript project to get a DriftScore and a prioritized list of upgrade risks.
Blueprints2
Migrations6
CommonJS to ES Modules Migration
Migrate Node.js projects from CommonJS modules to ES Modules with build/test updates
Express.js to Fastify Migration
Migrate Express middleware and routes to Fastify with schema validation and performance tuning
Express.js to NestJS Migration
Migrate Express.js REST API to structured NestJS with TypeScript
Node.js 14 to Node.js 18 Migration
Upgrade Node.js runtime from 14 to 18, updating dependencies and ESM/CJS compatibility
Node.js 16 to Node.js 20 Migration
Upgrade Node.js runtime from 16 to 20 with dependency upgrades and runtime behavior validation
Node.js 18 to Node.js 22 Migration
Upgrade Node.js runtime from 18 LTS to 22 LTS with new features
Products5
Node.js
JavaScript runtime built on Chrome's V8 engine
Express.js
Fast, unopinionated web framework for Node.js
Fastify
Fast and low overhead web framework for Node.js
NestJS
Progressive Node.js framework for enterprise applications
Prisma
Next-generation Node.js and TypeScript ORM
Stacks6
MEAN Stack
MongoDB, Express.js, Angular, Node.js - Enterprise JavaScript stack
PERN Stack
PostgreSQL, Express.js, React, Node.js - Relational DB full-stack
Node + Express + Mongo Stack
JavaScript backend stack using Node.js, Express, and MongoDB for flexible, schema-light REST APIs and rapid prototyping.
Express + React + Postgres
A classic JavaScript full stack: an Express REST API on Node.js, a React frontend, and a PostgreSQL database, flexible and widely understood.
Fastify + Prisma
A high-performance Node.js backend using Fastify with schema-based validation and Prisma ORM over PostgreSQL, built for low-overhead, type-safe APIs.
AdonisJS Full-Stack
An opinionated, batteries-included Node.js MVC framework with its own ORM, auth, and validation, bringing a Laravel-like experience to TypeScript.
Comparisons7
Node.js vs Python
Two leading backend runtimes: Node.js offers event-driven, non-blocking I/O with JavaScript everywhere, while Python brings readability and a vast data ecosystem.
PHP vs Node.js
Two popular web backends: PHP powers a huge share of the web with mature frameworks, while Node.js offers event-driven JavaScript across the full stack.
Deno vs Node.js
Two JavaScript/TypeScript runtimes: Node.js is the mature, ubiquitous standard, while Deno offers secure-by-default execution and built-in TypeScript and tooling.
Bun vs Node.js
Bun is a fast all-in-one JavaScript runtime and toolkit built on JavaScriptCore, while Node.js is the mature, ubiquitous V8-based standard.
Go vs Node.js for APIs
For building HTTP and gRPC APIs, Go offers compiled performance and easy concurrency, while Node.js offers rapid development and full-stack JavaScript.
Express vs Fastify
Express is the ubiquitous, minimal Node.js framework; Fastify is a modern alternative built for higher throughput and schema-based validation.
NestJS vs Express
NestJS is a structured, opinionated TypeScript framework with DI and modules; Express is a minimal, unopinionated Node.js framework.
FAQs7
How do I install Node.js to run the Vibgrate CLI?
The Vibgrate CLI requires Node.js >= 22.0.0. On macOS, install via Homebrew: brew install node@22. On Windows, download from nodejs.org or use winget ...
How do I install Node.js on macOS?
Use Homebrew (recommended): brew install node@22. Alternatively, use nvm for version management: curl -o- https://raw.githubusercontent.com/nvm-sh/nvm...
How do I install Node.js on Windows?
Use winget (recommended): winget install OpenJS.NodeJS.LTS. Alternatively, download the Windows installer from nodejs.org and run it. You can also use...
What languages and ecosystems does Vibgrate support?
Vibgrate supports Node.js/TypeScript (package.json, npm/pnpm/yarn/bun lockfiles), .NET (*.csproj, *.sln, NuGet), Python (requirements.txt, pyproject.t...
I'm getting Node.js version errors. What should I do?
Vibgrate requires Node.js >= 22.0.0. Check your version: node --version. If too old, upgrade using nvm (nvm install 22), Homebrew (brew upgrade node),...
What are EOL (End of Life) findings?
EOL findings alert you when your runtime (Node.js, .NET, Python) is approaching or past its end-of-life date. Running unsupported runtimes poses secur...
How do I scan a Node.js or TypeScript project?
Run vg scan in your project directory. Vibgrate detects package.json files, lockfiles (npm, pnpm, yarn), .nvmrc/.node-version, and tsconfig.json. It a...