Skip to content

This repository shows how to make a simple endpoint deployment done in nodejs and express by creating and using 'secrets' to store environment variables.

Notifications You must be signed in to change notification settings

Aleho84/cloud-run-test

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

logo

cloud-run-test

Status GitHub Issues Version License


Simple example to deploy an Endpoint in Google Cloud

📝 Table of Contents

🧐 About

This repository shows how to make a simple endpoint deployment done in nodejs and express by creating and using 'secrets' to store environment variables.

🏁 Getting Started

  1. Install the Google Cloud SDK.

  2. Acquire local credentials for authenticating with Google Cloud Platform APIs:

    gcloud auth application-default login
    
  3. Clone this repo:

    git clone https://github.com/Aleho84/cloud-run-test.git
    
  4. Install dependencies:

    npm install
    
  5. Run the sample with npm

    npm start
    
  6. Visit the application at http://localhost:8080.

🚀 Deployment

To deploy a sample application:

  1. Use the Google Cloud Console to create a Google Cloud Platform project.

  2. Enable billing for your project.

  3. Use the Cloud SDK to deploy your app.

    gcloud app deploy
    
  4. View your deployed application at https://YOUR_PROJECT_ID.appspot.com.

⛏️ Built Using

✍️ Authors

About

This repository shows how to make a simple endpoint deployment done in nodejs and express by creating and using 'secrets' to store environment variables.

Topics

Resources

Stars

Watchers

Forks