Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/geshan/nodejs-postgres-cloud-run
A demo Quotes REST API using Node.js and PostgreSQL. Built with Express Js -- can run on Google Cloud Run
https://github.com/geshan/nodejs-postgres-cloud-run
cloud-run cloud-run-button google-cloud google-cloud-platform google-cloud-run nodejs postgresql
Last synced: 12 days ago
JSON representation
A demo Quotes REST API using Node.js and PostgreSQL. Built with Express Js -- can run on Google Cloud Run
- Host: GitHub
- URL: https://github.com/geshan/nodejs-postgres-cloud-run
- Owner: geshan
- License: mit
- Created: 2022-10-28T00:27:28.000Z (about 2 years ago)
- Default Branch: master
- Last Pushed: 2024-04-22T11:56:24.000Z (9 months ago)
- Last Synced: 2024-04-22T11:59:54.508Z (9 months ago)
- Topics: cloud-run, cloud-run-button, google-cloud, google-cloud-platform, google-cloud-run, nodejs, postgresql
- Language: JavaScript
- Homepage:
- Size: 170 KB
- Stars: 0
- Watchers: 2
- Forks: 1
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# nodejs-posgresql for Cloud Run
A demo Quotes REST API using Node.js and PostgreSQL. Built with Express Js for this [Node.js PostgreSQL tutorial](https://geshan.com.np/blog/2021/01/nodejs-postgresql-tutorial/).
## Deploy on Google Cloud Run
[![Run on Google Cloud](https://deploy.cloud.run/button.svg)](https://deploy.cloud.run)
## How it works
Hit the `URL/quotes` to get some great programming quotes like below:
![Quotes API Working](/images/quotes.jpg)
## Deploy using Cloud Build
There is a Cloudbuild.yml file in the repository, if you want to setup a deployment pipeline with Cloud Build you can follow the [official guide](https://cloud.google.com/build/docs/deploying-builds/deploy-cloud-run).