All Projects → jthegedus → firebase-functions-es6-example

jthegedus / firebase-functions-es6-example

Licence: other
Use ES6 to develop Cloud Functions for Firebase today!

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to firebase-functions-es6-example

firebase-swiss
The Firebase Swissknife 🇨🇭
Stars: ✭ 12 (-40%)
Mutual labels:  firebase-functions, cloud-functions
foundry-cli
Foundry makes the development of Firebase Functions fast by giving you an out-of-the-box working cloud environment for your development with an access to your production data. It's a CLI tool that gives you a continuous REPL-like feedback about your Firebase Functions.
Stars: ✭ 49 (+145%)
Mutual labels:  firebase-functions, cloud-functions
FunctionShield
A Serverless Security Library for Developers. Regain Control Over Your AWS Lambda & Google Cloud Functions Runtimes.
Stars: ✭ 36 (+80%)
Mutual labels:  google-cloud-functions
bilkent-scheduler
Visualizer that makes Bilkent University students' lives easier during course registration
Stars: ✭ 22 (+10%)
Mutual labels:  firebase-functions
hyperform
⚡ Lightweight serverless framework for NodeJS
Stars: ✭ 156 (+680%)
Mutual labels:  google-cloud-functions
shuttlepdf
📃 Smashingly simple, and scalable ("serverless") HTML to PDF conversions using Google Cloud Functions, and Puppeteer.
Stars: ✭ 15 (-25%)
Mutual labels:  google-cloud-functions
Serverless
⚡ Serverless Framework – Build web, mobile and IoT applications with serverless architectures using AWS Lambda, Azure Functions, Google CloudFunctions & more! –
Stars: ✭ 41,584 (+207820%)
Mutual labels:  google-cloud-functions
serverless-multicloud-example
An example Node Express app that can be deployed in any major cloud by the Serverless framework
Stars: ✭ 20 (+0%)
Mutual labels:  google-cloud-functions
hnpwa-api
CDN cached Hacker News API
Stars: ✭ 73 (+265%)
Mutual labels:  cloud-functions
gSlack
Get Slack notifications from Google Cloud Platform
Stars: ✭ 69 (+245%)
Mutual labels:  google-cloud-functions
boilerplate-googlecloudfunctions-nodejs
A Serverless Framework Boilerplate for Google Cloud Functions support in Node.js
Stars: ✭ 15 (-25%)
Mutual labels:  google-cloud-functions
stackdriver-to-discord
[Unmaintained] ⚙️ A simple Google Cloud Function in Go to transform / proxy Stackdriver Static Webhook notifications to Discord.
Stars: ✭ 18 (-10%)
Mutual labels:  google-cloud-functions
container-builder-github-ci-status
Google Cloud Function responds to PubSub events on the cloud-builds topic to update GitHub CI status.
Stars: ✭ 23 (+15%)
Mutual labels:  cloud-functions
dynamic-cloud-dns
Dynamic DNS with Google Cloud Functions
Stars: ✭ 30 (+50%)
Mutual labels:  google-cloud-functions
nextjs-firebase-fns-demo
Demo for serverless NextJS on Firebase Functions
Stars: ✭ 14 (-30%)
Mutual labels:  firebase-functions
serverless-gcf
An extension for running Probot on Google Cloud Functions
Stars: ✭ 15 (-25%)
Mutual labels:  google-cloud-functions
sourcemaps.io
Web-based Source Map validator
Stars: ✭ 50 (+150%)
Mutual labels:  google-cloud-functions
Functions Samples
Collection of sample apps showcasing popular use cases using Cloud Functions for Firebase
Stars: ✭ 10,576 (+52780%)
Mutual labels:  google-cloud-functions
ais-service-discovery-go
Cloud application library for Golang
Stars: ✭ 77 (+285%)
Mutual labels:  cloud-functions
backends-for-android
Sample project to accompany my conference talk "Easy, scalable backends for Android"
Stars: ✭ 19 (-5%)
Mutual labels:  cloud-functions

[DEPRECATED] ES6+ in Cloud Functions for Firebase

This example is deprecated in favour of ES6+ in Cloud Functions 2 and it's folder in my blog-examples repo.


Use ES6+ to develop Cloud Functions for Firebase today!

Here is the accompanying Medium post.

TLDR;

Develop your Coud Functions in a different directory to the default ./functions directory. I suggest ./functionsES6. Then use babel-cli, babel-preset-es2015 and rimraf with some npm scripts to transpile to ES2015 into the default ./functions directory on deploy (yarn deploy).

Files of interest:

Installation

git clone https://github.com/jthegedus/firebase-functions-es6-example
cd firebase-functions-es6-example
yarn install

Deploy to Firebase

yarn deploy

N.B.: You will need to connect the project to your Firebase project. Edit the name in .firebaserc

A note on Code Compatibility

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

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].