Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jthegedus/firebase-gcp-examples
๐ฅ Firebase app architectures, languages, tools & some GCP things! React w Next.js, Svelte w Sapper, Cloud Functions, Cloud Run.
https://github.com/jthegedus/firebase-gcp-examples
berglas cloud-functions cloud-run firebase firebase-functions gcp google-cloud-platform graphql nextjs nuxtjs sapper serverless svelte
Last synced: 4 days ago
JSON representation
๐ฅ Firebase app architectures, languages, tools & some GCP things! React w Next.js, Svelte w Sapper, Cloud Functions, Cloud Run.
- Host: GitHub
- URL: https://github.com/jthegedus/firebase-gcp-examples
- Owner: jthegedus
- License: mit
- Created: 2018-01-10T10:20:42.000Z (about 7 years ago)
- Default Branch: main
- Last Pushed: 2023-03-04T04:05:52.000Z (almost 2 years ago)
- Last Synced: 2025-01-01T13:05:08.942Z (11 days ago)
- Topics: berglas, cloud-functions, cloud-run, firebase, firebase-functions, gcp, google-cloud-platform, graphql, nextjs, nuxtjs, sapper, serverless, svelte
- Language: JavaScript
- Homepage: https://medium.com/@jthegedus/table-of-contents-ec337953b39b
- Size: 4.3 MB
- Stars: 651
- Watchers: 17
- Forks: 122
- Open Issues: 48
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
- jimsghstars - jthegedus/firebase-gcp-examples - ๐ฅ Firebase app architectures, languages, tools & some GCP things! React w Next.js, Svelte w Sapper, Cloud Functions, Cloud Run. (JavaScript)
README
# Firebase & GCP Examples
exploring serverless app architectures, languages, tools & more!
[![all contributors](https://img.shields.io/badge/all_contributors-1-orange.svg?style=flat)](#contributions)
[![prs welcome](https://img.shields.io/badge/PRs-welcome-brightgreen.svg?style=flat)](#contributions)๐ก [code samples][code-samples] ยท ๐จโ๐ฉโ๐งโ๐ฆ [contributions][contributions]
![Firebase & GCP][fb-img]
[code-samples]: #code-samples
[contributions]: #contributions
[fb-img]: https://cdn-images-1.medium.com/max/1000/1*gJJhD2GynUDikKl5OWbk_w.gifTake a look at [awesome-firebase][awesome-fb-repo] for an overview of the latest tools in the ecosystem!
## Code samples
Legend: ๐ Theory, ๐ป Examples & ๐ฌ Comments.
Examples are for Firebase unless otherwise denoted with `gcp-`. Most can be translated to GCP without much effort.
| **Post** | **Repo** |
| -------------------------------------------------------------------------- | ------------------------------------------------ |
| ๐ป Next.js on Firebase: hybrid SSG/SSR with Google Cloud Run | [cloudrun-nextjs][cloudrun-nextjs-repo] :new: |
| ๐ป Next.js on Firebase: hybrid SSG/SSR with Cloud Functions | [functions-nextjs][func-nextjs-repo](updated!) |
| ๐ป Nuxt.js on Firebase: SSR with Cloud Functions | [functions-nuxtjs][func-nuxtjs-repo] |
| ๐ฌ [State of Firebase (late 2019)][state-of-fb-2019] | |
| ๐ป Next.js on Firebase: SSR with Cloud Functions | [functions-nextjs][func-nextjs-repo](updated!) |
| ๐ป [Runtime Secret Decryption with Node.js on Cloud Run][cloudrun-berglas] | [gcp-cloudrun-berglas][cloudrun-berglas-repo] |
| ๐ป [Apollo GraphQL & Cloud Functions for Firebase][func-gql-apollo] | [functions-graphql-apollo][func-gql-apollo-repo] |
| ๐ป [Express.js & Cloud Functions for Firebase][func-express] | [functions-express][func-express-repo] |
| ๐ฌ [3 Best Features of Google Cloud Run][best-of-cloudrun] | |
| ๐ฌ [State of Cloud Functions (mid 2019)][state-of-cf-2019] | |
| ๐ป [Cron & Cloud Functions for Firebase][func-cron] | [cron][func-cron-repo] |
| ๐ฌ [Awesome Firebase Announcement][awesome-fb] | [awesome-firebase][awesome-fb-repo] |
| ๐ [Cloud Functions w Compiled Code][func-compiled-0] | |
| ๐ป [Cloud Functions w Babel, Flow & TypeSript][func-compiled-1] | [functions-w-babel][func-compiled-1-repo] |
| ๐ป [Cloud Functions w ParcelJS][func-compiled-2] | [functions-w-parcel][func-compiled-2-repo] |
| ๐ฌ [State of Firebase (late 2018)][state-of-fb-2018] | |
| ๐ [Babel & preset-env][babel-pe] | |
| ๐ [Firebase Package Names and Bundle Sizes][fb-bundles] | [namespaced pkgs][fb-bundles-repo] |
| ๐ฌ [Exploring Cloud Functions for Firebase][explore-fb-funcs] | |For all my blog posts, see my Medium [Table of Contents][jthegedus-medium-toc] post.
[cloudrun-nextjs-repo]: ./cloudrun-nextjs
[func-nuxtjs-repo]: ./functions-nuxtjs
[state-of-fb-2019]: https://codeburst.io/the-state-of-firebase-mid-2019-2b002c458d70
[func-nextjs-repo]: ./functions-nextjs
[cloudrun-berglas]: https://medium.com/@jthegedus/berglas-with-node-js-on-cloud-run-d7cecfa5aa49
[cloudrun-berglas-repo]: ./gcp-cloudrun-berglas
[func-gql-apollo]: https://medium.com/@jthegedus/graphql-on-cloud-functions-for-firebase-153fe7b02ea5
[func-gql-apollo-repo]: ./functions-graphql-apollo
[func-express]: https://medium.com/@jthegedus/express-js-on-cloud-functions-for-firebase-f76b5506179
[func-express-repo]: ./functions-express
[best-of-cloudrun]: https://medium.com/weareservian/3-best-features-of-google-cloud-run-546e367242ea
[state-of-cf-2019]: https://medium.com/weareservian/the-state-of-cloud-functions-mid-19-13d2d927d23b
[func-cron]: https://medium.com/@jthegedus/cron-cloud-functions-for-firebase-724728b1683a
[func-cron-repo]: ./cron
[awesome-fb]: https://medium.com/@jthegedus/awesome-firebase-6876cb9563e4
[awesome-fb-repo]: https://github.com/jthegedus/awesome-firebase
[state-of-fb]: https://medium.com/@jthegedus/the-state-of-firebase-late-18-e74e6d4a940e
[func-compiled-0]: https://medium.com/@jthegedus/cloud-functions-for-firebase-with-compiled-code-e234e83462dc
[func-compiled-1]: https://medium.com/@jthegedus/cloud-functions-for-firebase-with-babel-flow-typescript-796606628d37
[func-compiled-1-repo]: ./functions-w-babel
[func-compiled-2]: https://medium.com/@jthegedus/cloud-functions-for-firebase-with-flow-typescript-reasonml-via-parceljs-bf94dd5b325c
[func-compiled-2-repo]: ./functions-w-parcel
[state-of-fb-2018]: https://medium.com/@jthegedus/the-state-of-firebase-late-18-e74e6d4a940e
[babel-pe]: https://medium.com/@jthegedus/babel-preset-env-cbc0bbf06b8f
[fb-bundles]: https://medium.com/@jthegedus/firebase-package-names-and-bundle-sizes-ec10cede63f1
[fb-bundles-repo]: ./namespaced-pkgs
[explore-fb-funcs]: https://medium.com/@jthegedus/exploring-cloud-functions-for-firebase-cdf62297349e
[jthegedus-medium-toc]: https://medium.com/@jthegedus/table-of-contents-ec337953b39bDeprecated Posts & Examples
| OLD (to be replaced) Technical Blog posts | Repo/Folder |
| :------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | :---------------------------------------------------------------------------------------------------------------------------------- |
| [ES6+ in Cloud Functions for Firebase #2](https://medium.com/@jthegedus/es6-in-cloud-functions-for-firebase-2-415d15205468) | [firebase-functions-babel-example](https://github.com/jthegedus/firebase-gcp-examples/tree/deprecated/firebase-functions-es6-babel) |
| [Next.js on Cloud Functions for Firebase with Firebase Hosting](https://medium.com/@jthegedus/next-js-on-cloud-functions-for-firebase-with-firebase-hosting-7911465298f2) | [firebase-functions-next-example](https://github.com/jthegedus/firebase-functions-next-example) |
| GraphQL Server on GCP Cloud Functions | [gcp-functions-graphql](./deprecated/gcp-functions-graphql) |## Contributions
Thanks goes to these wonderful people ([emoji key](https://github.com/kentcdodds/all-contributors#emoji-key)):
James Hegedus
๐ ๐ป ๐ ๐ก ๐ค
Michael Lustig
๐
Jasan
๐ ๐ป
Matthias Bruns
๐ ๐ป
Charles Thomas
๐
Dan Tavelli
๐
Joseph Roddy
๐
Mat Warger
๐
Daniel R
๐ป
tomvdv
๐ป
Rio Martinez
๐ ๐ป ๐This project follows the [all-contributors](https://github.com/kentcdodds/all-contributors) specification. Contributions of any kind welcome!
Some contributors listed above contributed to earlier repositories and versions of these examples, so although they may not appear in this repo's [graphs/contributors](https://github.com/jthegedus/firebase-gcp-examples/graphs/contributors) list, they helped nonetheless. Thanks.
**Please note:** I do intend to write a blog post about each of the examples here. I have a lot of examples in various stages of progress that I will release when I have the blog post written. If you wish to contribute to examples prior to a post being written I will of course credit all contributions to each particular example ๐
If you have a request please open an issue so we can discuss how & why it should be implemented.
## Find Me
โ๏ธ [medium][jthegedus-medium] ยท ๐ฆ [twitter][jthegedus-twitter] ยท :octocat: [github][jthegedus-github] ยท ๐ฆ [gitlab][jthegedus-gitlab]
[jthegedus-medium]: https://medium.com/@jthegedus
[jthegedus-twitter]: https://twitter.com/jthegedus
[jthegedus-github]: https://github.com/jthegedus
[jthegedus-gitlab]: https://gitlab.com/jthegedus