Photo by ika ika on Unsplash

  • Accepting payments with Stripe Checkout

    Stripe Checkout hosts the payment UI on Stripe's domain: your server creates a Session, the browser redirects, and webhooks confirm the sale. This runbook wires Checkout into Express for one-time Prices with success and cancel pages.

    · Commercial Integrations / Stripe / Payments

  • Cloud Logging

    Cloud Logging ingests logs from Cloud Run, load balancers, and your app’s stdout. This chapter writes structured JSON from the series API, queries logs in Logs Explorer, and outlines sinks and audit logs.

    · Cloud Platforms / Google Cloud Platform / Observability

  • CRUD operations in MongoDB

    Documents are BSON records in collections; the Node.js driver maps them to TypeScript types. This chapter walks through insert, find, update, and delete with filters, projections, array operators, upserts, bulk writes, and the ObjectId versus string boundary at HTTP APIs.

    · Databases / MongoDB / Fundamentals

  • Custom payment forms with the Payment Element

    When Checkout's hosted page is not enough, embed the Payment Element: your server creates a PaymentIntent, the browser mounts Stripe.js UI, and confirmPayment finishes authentication. This runbook compares that path with Checkout for Express apps.

    · Commercial Integrations / Stripe / Payments

  • Customers in Stripe

    A Stripe Customer is the billing profile for someone in your app: email, metadata, and saved payment methods. This chapter shows how to create customers at signup, map them to your user ids, and save cards for on-session and off-session charges with SetupIntents.

    · Commercial Integrations / Stripe / Customers and Products

  • Deploying containers with Cloud Run

    Cloud Run runs stateless containers on demand with HTTPS URLs, revisions, and autoscaling. This chapter deploys the series file API from Artifact Registry, configures the runtime service account, scaling, and ingress.

    · Cloud Platforms / Google Cloud Platform / Compute

  • Installing and connecting to MongoDB

    You can run MongoDB locally in Docker, exercise Atlas Search features with the Atlas Local image, or use a free Atlas cluster in the cloud. This runbook installs those options and connects from TypeScript with the official Node.js driver, pooling, and a clean shutdown path.

    · Databases / MongoDB / Fundamentals

  • Mongoose with MongoDB

    Mongoose adds schemas, validation, middleware, and populate on top of the official driver. This focused chapter explains when an ODM helps, how to type schemas in TypeScript, and how lean queries differ from hydrated documents—without replacing the driver-first approach used elsewhere.

    · Databases / MongoDB / Data Modeling

  • Products and prices in Stripe

    Products describe what you sell; Prices say how much and how often. Prices are immutable, so catalog changes mean new Price objects. This chapter covers one-time and recurring prices, lookup keys, and seeding a catalog from Node.js.

    · Commercial Integrations / Stripe / Customers and Products

  • Stripe API keys and the Node.js SDK

    Publishable keys belong in the browser, secret and restricted keys stay on the server, and every call goes through a Stripe client instance. This chapter shows how to wire the official stripe npm package into Express, pin an API version, and handle idempotency and errors safely.

    · Commercial Integrations / Stripe / Fundamentals

  • Stripe beyond payments

    Checkout and subscriptions cover most SaaS needs, but Stripe also runs marketplaces, tax, fraud tools, invoicing, in-person Terminal, and identity checks. This overview names each product so you know what to reach for next without duplicating Stripe's full documentation.

    · Commercial Integrations / Stripe / General

  • Stripe cheat sheet

    Commands and API calls you reach for daily when integrating Stripe with Node.js: CLI forwarding, test cards, key prefixes, and stripe-node snippets grouped by object. Use with the narrative chapters when you need a quick lookup.

    · Commercial Integrations / Stripe / General

  • Subscriptions in Stripe

    Subscriptions bill Customers on a recurring Price, generate Invoices, and change state over time. This chapter uses Checkout in subscription mode, syncs access through webhooks, and touches upgrades, trials, and the Customer Portal.

    · Commercial Integrations / Stripe / Payments

  • Webhooks in Stripe

    Webhooks deliver signed Event objects when payments and subscriptions change. Your Express handler verifies signatures, stays idempotent, and fulfills orders there—not on the success page. This chapter covers routing, key events, and local testing with the Stripe CLI.

    · Commercial Integrations / Stripe / Fundamentals

  • What is Google Cloud Platform?

    Google Cloud Platform is a suite of managed services for compute, storage, networking, and operations, scoped to projects inside an organization. This overview explains the resource hierarchy, regions, billing, and how to install the Cloud SDK so later chapters can deploy one small container app.

    · Cloud Platforms / Google Cloud Platform / Fundamentals

  • What is Stripe?

    Stripe sits between your web application, your server, and the card networks: it stores customers and catalog data, runs Checkout or custom payment flows, and notifies your backend through webhooks. This overview maps the main API objects and test environments before you write integration code.

    · Commercial Integrations / Stripe / Fundamentals

  • Managing different node version with nvm on Windows

    Nvm ( Node Version Manager ) allows you to quickly install and use different versions of node via the command line.

    · Server Development / NodeJS / General

  • Google Cloud Storage

    Cloud Storage holds object data in buckets with storage classes, lifecycle rules, and IAM. This chapter places GCS next to disks and databases, configures a bucket for the series API, and implements upload and list with the Node.js client.

    · Cloud Platforms / Google Cloud Platform / Storage

  • Testing JavaScript NodeJS files with Mocha and Chai

    This article will demonstrate how to test JavaScript files in NodeJS using the libraries Sinon, Mocha and Chai. Sinon is often installed together with Mocha and Chai, but it is not required.

    · Testing / Testing JavaScript NodeJS files with Mocha and Chai / General

  • Env vars, process and globals in NodeJS

    You can define custom env variables in two ways:

    · Server Development / NodeJS / General

  • Event Loop in NodeJS

    Slow I/O operations such as accessing disk and network resources are handled via Node's Event Loop . The Event Loop is started once you run a node script and exits once there are no more callbacks to…

    · Server Development / NodeJS / General

  • Executing commands and files in NodeJS

    There are a couple of ways to execute files and commands, but all use the module child_process .

    · Server Development / NodeJS / General

  • File system operations in NodeJS

    Node offers both, sync and async methods to handle files. Sync methods (having sync in the method name, e.g. fs.readFileSync() ) will block the execution of the program until it has finished…

    · Server Development / NodeJS / General

  • Load balancing an HTTP server with cluster module

    There are many strategies to scale your application:

    · Server Development / NodeJS / General

  • NodeJS modules

    In the REPL all node modules are already present so you do not have to explicitly require() them first. But when you write your own files you must choose between one of two options:

    · Server Development / NodeJS / General

  • Streams in NodeJS

    Streams are collections of data that might not be available all at once and don't have to fit in memory all at once. For example if you want to serve a file that is 1GB over HTTP you would create a…

    · Server Development / NodeJS / General

  • V8 and the REPL in NodeJS

    Node's build-in JavaScript engine is V8, but others such as Chakra (by Microsoft) can be used. V8 has three feature groups:

    · Server Development / NodeJS / General

  • Working with HTTP and HTTPS in NodeJS

    What you can achieve are things like:

    · Server Development / NodeJS / General

Search articles

Type a word to search published articles.

Open the search page