You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
BFF (Backend for Frontend), which is a way of designing the backend
122
+
(server) of an application to specifically meet the needs of the frontend (client) of that application. BFFs communicate with a set of backend services through an API gateway, and are designed to be lightweight and scalable.
123
+
124
+
### [bin](bin): convenience scripts for development
125
+
### [grpc](grpc): describes data and services from which code is generated to implement services and interact with these
126
+
gRPC is a high-performance Remote Procedure Call (RPC) framework that lets developers exchange data between microservices or applications efficiently and with low latency. It relies on a binary protocol called Protocol Buffers (protobufs) to describe message formats and interfaces, which helps reduce network round trips required for data exchange. gRPC provides both client-side and server-side libraries for multiple programming languages, and includes built-in support for load balancing, flow control, and congestion control.
127
+
128
+
### [report](report): library that parses junit test results and pushes them to google bigquery
129
+
130
+
### [single page application](single-page-application): frontend based on the famous ToDoMVC
131
+
A single-page application (SPA) package is a software development tool that helps build web applications that load all their content on a single web page, instead of multiple pages from the server. This makes the user experience smoother and faster, with less need to refresh or reload data from the server. SPA packages use JavaScript to dynamically update content without needing to rely on server-side rendering. This project use React framework but SPA frameworks can also include Angular, and Vue.js
Various frameworks for testing the whole system as mostly black box. Some frameworks may focus on http apis, others on browser interaction or mixture of both.
136
+
137
+
138
+
### [terraform](terraform): infrastructure as code
139
+
Terraform is a tool used in infrastructure as code that helps teams define, create and manage their infrastructure using code. It allows users to easily and quickly make changes to infrastructure resources such as virtual machines, databases, and load balancers across multiple cloud providers. Terraform is highly interoperable, working with almost any cloud provider and supporting various infrastructure types.
140
+
141
+
### [todo service](terraform): microservice handling todo management
142
+
The todo-service package is a software development tool used to create a task management service. It provides an API that lets users create, read, update, and delete tasks. The package can be customized and integrated with various front-end frameworks to create full-featured task management applications. Document full-stack project 6 The todo-service package may also include features such as task prioritization, deadlines, tags, user access control, and notifications.
36
143
37
144
## get your own instance:
145
+
38
146
* fork this repository
39
147
* create GCP project, enable billing
40
148
* install gcloud and terraform
41
149
* login `gcloud auth application-default login`
42
-
* create billing budget `gcloud alpha billing budgets create --billing-account=$your_billling_account --display-name="budget" --budget-amount=5.00EUR --threshold-rule=percent=0.70 --threshold-rule=percent=0.90,basis=forecasted-spend` this will notify you if for some reason you spend
43
-
* go to `/terraform/production` and create a `terraform.tfvars` file, replace values with yours:
* run terraform init and terraform apply (might require multiple tries first time for apis to be enabled).
53
-
*`Error creating Trigger: googleapi: Error 400: Repository mapping does not exist. Please visit https://console.cloud.google.com/cloud-build/triggers/connect?project=... to connect a repository to your project` do that
163
+
164
+
* run terraform init and terraform apply (might require multiple tries first time for apis to be enabled).
165
+
*`Error creating Trigger: googleapi: Error 400: Repository mapping does not exist. Please visit https://console.cloud.google.com/cloud-build/triggers/connect?project=... to connect a repository to your project`
166
+
do that
54
167
* some images are not present yet, so you have to run all the deployment triggers to have the image built
55
-
* change and commit/push [.env](single-page-application/.env) to your actual bff url (go to cloud run to find it) FIXME, should be automatic
56
-
* Configure Error Reporting notifications by [going to the console](https://console.cloud.google.com/errors) and clicking "Configure Notifications". Unfortunately, [we're unable to automate this](https://github.com/hashicorp/terraform-provider-google/issues/12068).
168
+
* change and commit/push [.env](single-page-application/.env) to your actual bff url (go to cloud run to find it) FIXME,
169
+
should be automatic
170
+
* Configure Error Reporting notifications by [going to the console](https://console.cloud.google.com/errors) and
171
+
clicking "Configure Notifications".
172
+
Unfortunately, [we're unable to automate this](https://github.com/hashicorp/terraform-provider-google/issues/12068).
57
173
* set error notification channel https://console.cloud.google.com/errors
0 commit comments