ilionic / blog-code

Code samples from my blog all in one place! Firebase, Cloud Functions, GraphQL and SSR React with Next.js.

Home Page:https://medium.com/@jthegedus/table-of-contents-ec337953b39b

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

blog code

Code samples used in my blog posts covering FaaS with Cloud Functions, BaaS with Firebase, GraphQL with Apollo & Server-side Rendered (SSR) React with Next.js.

styled with Prettier

πŸ—’οΈ notes on examples Β· πŸ”§ code compatibility Β· πŸ‘¨β€πŸ‘©β€πŸ‘§β€πŸ‘¦ contributions Β· πŸ’» developer tools used Β· πŸ‘¨β€πŸ’» find me

πŸ““ posts & code πŸ’»

Technical Blog posts Repo/Folder
Exploring Cloud Functions for Firebase --
Babel & preset-env --
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
Firebase Package Names and Bundle Sizes firebase-namespaced-packages
TBA gcp-functions-graphql
Other Blog posts
GitHub & Medium with Embedly

πŸ—’οΈ 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.

Firebase CLI is recommended to be used with the Node.js 8.9.x LTS, however the Cloud Function runtime is still using Node.js 6.11.5. As such, this repo enforces Node.js 8.9.4 (in the .tool-versions file used by asdf) and it's recommended to compile your code to 6.11.5 (or not use any Node features from > Node.js v7.

I use CodeSandbox not as a development playground, but as a means to keep my code snippets in Medium in sync with this repo. Do not expect these examples to execute in CodeSandbox.

πŸ”§ code compatibility

Everything was tested on Ubuntu 17.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

Contributions are 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, Ruby, Go, Python and more!
  • Yarn - NodeJS package manager
  • PrettierJS - Opinionated Code Formatter.

πŸ‘¨β€πŸ’» find me...

About

Code samples from my blog all in one place! Firebase, Cloud Functions, GraphQL and SSR React with Next.js.

https://medium.com/@jthegedus/table-of-contents-ec337953b39b

License:Other


Languages

Language:JavaScript 100.0%