https://github.com/rupachowrasia/gcp-app-engine-deploy-with-cloudbuild-github-using-nodejs
A sample app to show how to deploy nodejs app in Google Cloud App Engine using Google Cloud Build and Github
https://github.com/rupachowrasia/gcp-app-engine-deploy-with-cloudbuild-github-using-nodejs
appengine appengine-nodejs cloudbuild deployment expressjs gcp github nodejs
Last synced: 2 months ago
JSON representation
A sample app to show how to deploy nodejs app in Google Cloud App Engine using Google Cloud Build and Github
- Host: GitHub
- URL: https://github.com/rupachowrasia/gcp-app-engine-deploy-with-cloudbuild-github-using-nodejs
- Owner: rupachowrasia
- Created: 2025-04-21T13:23:27.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2025-04-28T17:53:15.000Z (about 1 year ago)
- Last Synced: 2025-05-01T08:14:21.756Z (about 1 year ago)
- Topics: appengine, appengine-nodejs, cloudbuild, deployment, expressjs, gcp, github, nodejs
- Language: JavaScript
- Homepage:
- Size: 12.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Deploy node.js app in Google Cloud App Engine using Cloud Build and Github
> This project demonstrate how to deploy node.js sample app in Google Cloud App Enging using Cloud Build and Github
## 🚀 Features
- ✨ Google cloud acount setup
- ⚡ App Engine
- 🔒 How to deploy app using Google cloud SDK from local
## 🛠 Tech Stack
- Node.js
- Express
- Google Cloud(App Engine)
## 🧑💻 Local Setup
- Create free account in google cloud if not already have
- Login to Google cloud console, create a new project, or can use existing one
- Link billing account to project if not already linked
- Install and setup google cloud cli(Google cloud sdk) in local as per OS
- Create simple node.js app in local
- Enable App Engine Admin API and Cloud Build API from Google cloud console (this is one time activity and has to be done for first time)
- In Google Cloud select App Engine and create application in any region
- Create a trigger - go to Cloud Build, click Triggers, Create trigger (Provide name, description, Event, Connect new GitHub repository, add service account, click create)
- Prepare app.yaml and cloudbuild.yaml file in node app’s root folder
- When you push to GitHub, app will be deployed to app engine
## 📦 Installation
```bash
# Clone the repo
git clone https://github.com/rupachowrasia/gcp-app-engine-deploy-with-cloudbuild-github-using-nodejs.git
# Move into the project directory
cd gcp-app-engine-deploy-with-cloudbuild-github-using-nodejs
# Install dependencies
npm install
# Run the app
npm run start