Sample web app to create tasks
Pre-reqs : See the tutorial that accompanies the code example at Migrating Node.js apps from Heroku to Cloud Run.
This repository contains sample code to create a Tasks app that lets you create tasks and view existing ones. Created tasks are stored in a backend database, PostgreSQL is used for this example. The app can be deployed to Heroku and shows you how you can migrate it to run on the Google Cloud Platform using Cloud Run and Cloud SQL.
How to use this example
Use the tutorial to understand how to configure your Google Cloud Platform project to use Cloud Run and Cloud SQL.
- Clone it from GitHub.
- Develop and enhance it for your use case
Quickstart
Clone this repository
git clone https://github.com/GoogleCloudPlatform/migrate-webapp-heroku-to-cloudrun-node.git
Change directory to one of the example directories
Follow the walkthrough in the associated tutorial for configuration details of Cloud platform products (Cloud Storage, Cloud Run and Cloud SQL) and adapt accordingly.