Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build backend #15

Closed
shinaBR2 opened this issue Nov 13, 2022 · 0 comments · Fixed by #34
Closed

Build backend #15

shinaBR2 opened this issue Nov 13, 2022 · 0 comments · Fixed by #34
Assignees
Labels
enhancement New feature or request

Comments

@shinaBR2
Copy link
Owner

shinaBR2 commented Nov 13, 2022

Updated: due to the limit of the Google Cloud for my region, so I will go with Cloud Functions first.

Regardless of the Cloud Run/Cloud Functions and what the network layer is, the logic is still the same.

Set up a new backend using Cloud Run and Cloud Functions.
When to use Cloud Run: for regular HTTP requests
When to use Cloud Functions: event-driven with Firebase Authentication, Firestore's event, etc.

Using the current api workspace.

Problems: Firebase functions still do not offer an official way to deal with the monorepo. Here is a good example to get started with: https://github.com/Hacksore/turborepo-firebase-example

References:

@shinaBR2 shinaBR2 added the enhancement New feature or request label Nov 13, 2022
@shinaBR2 shinaBR2 self-assigned this Nov 13, 2022
@shinaBR2 shinaBR2 linked a pull request Dec 24, 2022 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant