Deploy React App to Google App Engine in 15 Minutes



Deploy React App to Google App Engine in 15 Minutes

Deploy React App to Google App Engine in 15 Minutes

This video will walk you through creating a ReactJS web application, dockerizing it with Docker and Nginx and deploying it to Google Cloud Provider.

Medium Link: https://cloudgurupayments.medium.com/deploy-reactjs-app-with-nodejs-server-on-google-app-engine-eb86406a6435

👉Get CloudWays ➜ https://www.cloudways.com/en/?id=1365224

💥CloudWays COUPON CODE: CLOUDGURU25

☝️☝️ USE THE EXCLUSIVE COUPON CODE ABOVE TO GET 25% OFF FOR 3 MONTHS💥

Steps:
1. Create React App
2. Push React App to Git Repo
3. Create Google Account trail version
4. create a project
5. create appengine application
6. git clone project
7. npm i & npm run build
8. remove other files expect build folder
9. create app.yaml file and insert the content there
10. gcloud app deploy
11. gcloud app browse

Copy paste the app.yaml content
—————————————————————————
runtime: nodejs12
handlers:
# Serve all static files with url ending with a file extension
– url: /(.*..+)$
static_files: build/1
upload: build/(.*..+)$
# Catch all handler to index.html
– url: /.*
static_files: build/index.html
upload: build/index.html
—————————————————————————

Please like, share and subscribe if you find the video useful.

#react #reactjs #gcp #docker

Comments are closed.