Is-Even as a Service

A reference project to build a React Redux app in TypeScript, and deploy to GCP Cloud Run

An app which returns if a number is even

Local development

npm i # install node dependencies
npm start # visit app at http://localhost:3000

Deploy to Cloud Run

In the project root directory, run this command:

docker build -t<your_gcp_project_id>/iseven-as-a-service .
docker run -p 3000:8000<your_gcp_project_id>/iseven-as-a-service:latest
docker push<your_gcp_project_id>/iseven-as-a-service:latest
gcloud run deploy<your_gcp_project_id>/iseven-as-a-service:latest


Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update tests as appropriate.