Node.js documentation
Learn how to use Google Cloud product libraries andframeworks to build and iterate Node.js apps onGoogle Cloud.
Start your proof of concept with $300 in free credit
- Develop with our latest Generative AI models and tools.
- Get free usage of 20+ popular products, including Compute Engine and AI APIs.
- No automatic charges, no commitment.
Keep exploring with 20+ always-free products.
Access 20+ free products for common use cases, including AI APIs, VMs, data warehouses, and more.
Documentation resources
Related resources
Deploy Node.js application to Cloud Run
In this lab, you will learn how to to connect to computing resources hosted on Google Cloud via the web.
Running a Node.js Container on Google Kubernetes Engine
In this lab, you will learn how to launch a container and how to launch replicas of that container on Google Kubernetes Engine.
Authenticating users
Apps running on Google Cloud managed platforms such as App Engine can avoid managing user authentication and session management by using Identity-Aware Proxy (IAP) to control access to them.
Handling sessions
Many apps need session handling for authentication and user preferences. This tutorial shows how to handle sessions on Cloud Run.
Background processing
Many apps need to do background processing outside of the context of a web request. This tutorial creates a web app that lets users input text to translate, and then displays a list of previous translations.
Getting started with Node.js samples
A set of simple Node.js samples to help you get started.
Google Cloud Node.js samples
Search or browse all available Node.js code samples.
Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-12-15 UTC.