使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。
了解如何使用 Google Cloud 产品库和框架在Google Cloud上构建和迭代 Node.js 应用。
申请免费试用,开始在 Google Cloud 上构建和部署应用。
免费开始使用
利用 $300 免费赠金开始您的下一个项目
获享免费试用赠金和 20 多种产品的每月免费用量,构建和测试概念验证。
查看免费产品优惠
继续探索 20 多种提供“始终免费”用量的产品
使用适用于常见应用场景(包括 AI API、虚拟机、数据仓库等)的 20 多种免费产品。
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2025-04-22。
[[["易于理解","easyToUnderstand","thumb-up"],["解决了我的问题","solvedMyProblem","thumb-up"],["其他","otherUp","thumb-up"]],[["很难理解","hardToUnderstand","thumb-down"],["信息或示例代码不正确","incorrectInformationOrSampleCode","thumb-down"],["没有我需要的信息/示例","missingTheInformationSamplesINeed","thumb-down"],["翻译问题","translationIssue","thumb-down"],["其他","otherDown","thumb-down"]],["最后更新时间 (UTC):2025-04-22。"],[],[],null,["# Node.js documentation\n=====================\n\n[Read product documentation](/nodejs/docs/setup) Learn how to use Google Cloud product libraries and\nframeworks to build and iterate Node.js apps on\nGoogle Cloud.\nStart building and deploying on Google Cloud with a [free trial](https://console.cloud.google.com/freetrial). \n[Get started for free](https://console.cloud.google.com/freetrial) \n\n#### Start your proof of concept with $300 in free credit\n\n- Get access to Gemini 2.0 Flash Thinking\n- Free monthly usage of popular products, including AI APIs and BigQuery\n- No automatic charges, no commitment \n[View free product offers](/free/docs/free-cloud-features#free-tier) \n\n#### Keep exploring with 20+ always-free products\n\n\nAccess 20+ free products for common use cases, including AI APIs, VMs, data warehouses,\nand more.\n\nDocumentation resources\n-----------------------\n\nFind quickstarts and guides, review key references, and get help with common issues. \nformat_list_numbered\n\n### Guides\n\n- Tutorial \n\n\n [Setting up a Node.js development environment](/nodejs/docs/setup)\n\n- Tutorial \n\n\n [Getting started](/nodejs/getting-started)\n\nfind_in_page\n\n### Reference\n\n- Technical \n\n\n [APIs and Node.js libraries](/nodejs/docs/reference)\n\nRelated resources\n-----------------\n\nTraining and tutorials \nUse cases \nCode samples \nExplore self-paced training, use cases, reference architectures, and code samples with examples of how to use and connect Google Cloud services. Training \nTraining and tutorials\n\n### Deploy Node.js application to Cloud Run\n\n\nIn this lab, you will learn how to to connect to computing\nresources hosted on Google Cloud via the web.\n\n\n[Learn more](https://www.cloudskillsboost.google/focuses/90792?parent=catalog) \nTraining \nTraining and tutorials\n\n### Running a Node.js Container on Google Kubernetes Engine\n\n\nIn this lab, you will learn how to launch a container and how to\nlaunch replicas of that container on Google Kubernetes Engine.\n\n\n[Learn more](https://www.cloudskillsboost.google/focuses/5982?parent=catalog) \nUse case \nUse cases\n\n### Authenticating users\n\n\nApps running on Google Cloud managed platforms such as App Engine\ncan avoid managing user authentication and session management by using\nIdentity-Aware Proxy (IAP) to control access to them.\n\nIAP App Engine\n\n\u003cbr /\u003e\n\n[Learn more](/nodejs/getting-started/authenticate-users) \nUse case \nUse cases\n\n### Handling sessions\n\n\nMany apps need session handling for authentication and user\npreferences. This tutorial shows how to handle sessions on Cloud Run.\n\nCloud Run Firestore\n\n\u003cbr /\u003e\n\n[Learn more](/nodejs/getting-started/session-handling-with-firestore) \nUse case \nUse cases\n\n### Background processing\n\n\nMany apps need to do background processing outside of the context\nof a web request. This tutorial creates a web app that lets users input\ntext to translate, and then displays a list of previous translations.\n\nCloud Run Pub/Sub Firestore\n\n\u003cbr /\u003e\n\n[Learn more](/nodejs/getting-started/background-processing) \nCode sample \nCode Samples\n\n### Getting started with Node.js samples\n\n\nA set of simple Node.js samples to help you get\nstarted.\n\n\n[Open GitHub\narrow_forward](https://github.com/GoogleCloudPlatform/nodejs-getting-started) \nCode sample \nCode Samples\n\n### Google Cloud Node.js samples\n\n\nSearch or browse all available Node.js code samples.\n\n\n[Get started](/docs/samples?l=nodejs)"]]