Powered By GitBook
nodejs-loopback-on-appengine
Learn how to run a LoopBack Node.js app on App Engine flexible environment.
Contributed by Google employees.
You can check out Node.js and Google Cloud to get an overview of Node.js itself and learn ways to run Node.js apps on Google Cloud.

Prerequisites

    1.
    Create a project in the Cloud Console.
    2.
    Enable billing for your project.
    3.
    Install the Cloud SDK.

Prepare the app

    1.
    Install the LoopBack command-line interface:
    1
    npm install -g loopback-cli
    Copied!
    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:
    1
    runtime: nodejs
    2
    env: flex
    Copied!
    2.
    Run the following command to deploy your app:
    1
    gcloud app deploy
    Copied!
    3.
    View the deployed app:
    1
    gcloud app browse
    Copied!
Last modified 6mo ago