cloudrun-demo
is a showcase usage of deploying a production-level Node application container to Google Cloud Run.
Google Cloud Run is the latest in cloud technolgy as it combines serverless and containerized architecture. Developers can have the low upkeep of serverless while building programs that are containerized in Docker.
- Create a Node/Express application
- Have Node installed on your machine
- Successfully able to run Node application locally with
npm start
- Check the endpoints using HTTP client (E.g. Postman, Insomnia, Postwoman)
- Dockerize
- Install Docker
- Create a
Dockerfile
and insert code for Node - Successfully able to run the containerize Node application
- Check the endpoints using HTTP client (E.g. Postman, Insomnia, Postwoman)
- Google Cloud Run
- Tutorial: https://www.youtube.com/watch?v=3OP-q55hOUI
- Deploy containerize Node application to Google Cloud Run
- Check the production endpoints using HTTP client (E.g. Postman, Insomnia, Postwoman)
- Test sample environment variables
This project helps NPath's core backend team.
# clone project
git clone https://github.com/npathhq/cloudrun-demo.git
# navigate to project
cd cloudrun-demo
# installing the project
npm install
# running the project
npm start
~ Work In Progress ~
# installing the project
npm install
# Tutorial link: https://nodejs.org/fr/docs/guides/nodejs-docker-webapp/
docker build -t <your username>/node-web-app .
All parts of this project are free to use and abuse under the open-source MIT license.
Project Owner: Kevin Pham
Stakeholder: Nhat Nguyen