A reference project to deploy a React app onto Google Cloud Run, Cloud Build as the CI/CD tool, and Cloud Firebase Web for authentication, storage, database, hosting.
Read more: medium.com/google-cloud
- Google Cloud Project with a configured billing account
- Terraform
- Project repository on Cloud Source Repositories
Run the script for deploying an application to a cloud project via terraform.
./init.sh
- Run
terraform output
to print Firebase resources URL/IDs - Update .env with the associated Firebase resources URL/IDs
- Run npm run start and visit app at http://localhost:3000:
npm install
npm start