https://github.com/christophe-ch/cloud-functions-demo
Project developed as part of a presentation on Cloud Functions with Google Cloud.
https://github.com/christophe-ch/cloud-functions-demo
cloud-functions devops google-cloud nodejs serverless
Last synced: 3 months ago
JSON representation
Project developed as part of a presentation on Cloud Functions with Google Cloud.
- Host: GitHub
- URL: https://github.com/christophe-ch/cloud-functions-demo
- Owner: Christophe-Ch
- Created: 2023-04-03T18:45:32.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2023-04-06T17:45:29.000Z (over 2 years ago)
- Last Synced: 2025-02-09T06:41:34.628Z (5 months ago)
- Topics: cloud-functions, devops, google-cloud, nodejs, serverless
- Language: TypeScript
- Homepage:
- Size: 280 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
# Cloud Functions Demo
  
This project has been developed as a support for the Cloud Functions presentation.
## Goal
The objective was to build a system capable of tracking workers arrival times without them having to manually provide these each day.
## Proposed solution
The solution follows the architecture diagram below :

The first Cloud Function tries to push a new document for the day onto the Firestore.
The second Cloud Function fetches and sends all arrival times stored in the Firestore.
The Cloud Run service holds a containerized Angular application which will call the second cloud function then display results in a graph using [Chart.js](https://www.chartjs.org).
One way to automatically call the first Cloud Function could be to use [iOS Shortcuts](https://support.apple.com/guide/shortcuts/welcome/ios).