LuisSala / sample-heroku-app

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

  1. Clone it from GitHub.
  2. 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.

License

Apache Version 2.0

About

License:Apache License 2.0


Languages

Language:JavaScript 75.1%Language:HTML 24.6%Language:Procfile 0.4%