/firebase-gcp-examples

Firebase & GCP Examples. serverless app architectures, languages, tools & more!

Primary LanguageJavaScriptOtherNOASSERTION

Firebase & GCP Examples

Firebase & GCP examples exploring FaaS with Cloud Functions, BaaS with Firebase, serverless app architecture, server-side rendering and more!

styled with Prettier all contributors prs welcome

๐Ÿ—’๏ธ notes on examples ยท ๐Ÿ”ง code compatibility ยท ๐Ÿ‘จโ€๐Ÿ‘ฉโ€๐Ÿ‘งโ€๐Ÿ‘ฆ contributions ยท ๐Ÿ’ป developer tools used ยท ๐Ÿ‘จโ€๐Ÿ’ป find me

Firebase & GCP

๐Ÿ“‘ posts & code

For all my blog posts, see my Medium Table of Contents post.

Legend: ๐Ÿ“š Theory, ๐Ÿ’ป Examples & ๐Ÿ’ฌ Comments.

Blog posts Repo/Folder
๐Ÿ’ฌ Awesome Firebase awesome-firebase
๐Ÿ’ฌ State of Firebase (late 2018) --
๐Ÿ’ฌ Exploring Cloud Functions for Firebase --
๐Ÿ“š Babel & preset-env --
๐Ÿ“š Firebase Package Names and Bundle Sizes fb-namespaced_packages
๐Ÿ“š Cloud Functions for Firebase with Compiled Code --
๐Ÿ’ป Part 1: Cloud Functions for Firebase with Babel, Flow & TypeScript fb-functions-compiled_code
๐Ÿ’ป Part 2: Cloud Functions for Firebase with Flow, TypeScript & ReasonML via ParcelJS fb-functions-compiled_code
OLD (to be replaced) Technical Blog posts Repo/Folder
ES6+ in Cloud Functions for Firebase #2 firebase-functions-babel-example
Express.js on Cloud Functions for Firebase firebase-functions-express
GraphQL Server on Cloud Functions for Firebase firebase-functions-graphql-example
Next.js on Cloud Functions for Firebase with Firebase Hosting firebase-functions-next-example
GraphQL Server on GCP Cloud Functions gcp-functions-graphql

๐Ÿ—’๏ธ notes on examples

These examples use Yarn for all npm scripts, so either install Yarn or replace all uses of yarn in the scripts with npm run.

I use asdf to manage my Node runtimes. Some examples require specific Node versions, see the .tool-versions file or use this tool to get the exact versions.

๐Ÿ”ง code compatibility

Everything was tested on Ubuntu 18.10. If you wish for Windows native support please submit an issue so we can work on a Windows branch. Please report any macOS errors as I do not have access to a device to test. My development environment can be found here.

๐Ÿ‘จโ€๐Ÿ‘ฉโ€๐Ÿ‘งโ€๐Ÿ‘ฆ contributions

Thanks goes to these wonderful people (emoji key):


James Hegedus

๐Ÿ“ ๐Ÿ’ป ๐Ÿ“– ๐Ÿ’ก ๐Ÿค”

This project follows the all-contributors specification. Contributions of any kind welcome!

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.

๐Ÿ’ป developer tools used

  • asdf - extendable version manager with support for Node, OCaml, Ruby, Go, Python and more!
  • Yarn - NodeJS package manager
  • PrettierJS - Opinionated Code Formatter.

๐Ÿ‘จโ€๐Ÿ’ป find me...