Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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: 25 days ago
JSON representation

Project developed as part of a presentation on Cloud Functions with Google Cloud.

Awesome Lists containing this project

README

        

# Cloud Functions Demo

![Push Cloud Function deployment badge](https://github.com/Christophe-Ch/cloud-functions-demo/actions/workflows/push-cloud-function.yml/badge.svg) ![Fetch Cloud Function deployment badge](https://github.com/Christophe-Ch/cloud-functions-demo/actions/workflows/fetch-cloud-function.yml/badge.svg) ![Arrival times app deployment badge](https://github.com/Christophe-Ch/cloud-functions-demo/actions/workflows/arrival-times-app.yml/badge.svg)

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 :

![architecture](architecture.png)

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).