Edit on GitHub
Report issue
Page history

Author(s): @{[ username ]}  Published: {[ TutorialCtrl.tutorial.date_published | date:'mediumDate' ]}

title: Run a Loopback Node.js on Google App Engine Flexible Environment description: Learn how to run a Loopback Node.js app on Google App Engine flexible environment. author: jmdobry tags: App Engine, Node.js, Loopback date_published: 2017-11-02


LoopBack is a highly-extensible, open-source Node.js framework that enables you to create dynamic end-to-end REST APIs with little or no coding.

– loopback.io

You can check out Node.js and Google Cloud Platform to get an overview of Node.js itself and learn ways to run Node.js apps on Google Cloud Platform.


  1. Create a project in the Google Cloud Platform Console.
  2. Enable billing for your project.
  3. Install the Google Cloud SDK.
  4. Prepare your environment for Node.js development

Prepare the app

  1. Install the Loopback CLI:

    npm install -g loopback-cli
  2. Follow the Loopback Getting Started guide to create a Loopback app.

Deploy the app

  1. Create an app.yaml file with the following content:

    runtime: nodejs
    env: flex
  2. Run the following command to deploy your app:

    gcloud app deploy
  3. View the deployed app:

    gcloud app browse
See more by @{[ username ]} and more tagged {[ tag ]}{[ $last ? '' : ', ' ]}

Submit a Tutorial

Share step-by-step guides


Request a Tutorial

Ask for community help


GCP Tutorials

Tutorials published by GCP


Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see our Site Policies. Java is a registered trademark of Oracle and/or its affiliates.