Slide 1

Slide 1 text

Serverless applications with Firebase @alexsimonescu

Slide 2

Slide 2 text

Alexandru Simonescu @alexsimonescu Software Craftsman. Android Developer. Yoga Lover. “Do what you love. Love what you do.”

Slide 3

Slide 3 text

No content

Slide 4

Slide 4 text

No content

Slide 5

Slide 5 text

My story..

Slide 6

Slide 6 text

Our mission

Slide 7

Slide 7 text

Serverless

Slide 8

Slide 8 text

Serverless with Firebase

Slide 9

Slide 9 text

No content

Slide 10

Slide 10 text

Firebase

Slide 11

Slide 11 text

No content

Slide 12

Slide 12 text

No content

Slide 13

Slide 13 text

Firebase requirements - Device running Android 2.3 (Ginger Bread) - Google Play Services 9.2.0 - Google Play Services SDK

Slide 14

Slide 14 text

Installation

Slide 15

Slide 15 text

// root build.gradle buildscript {
 repositories {
 jcenter()
 }
 dependencies {
 classpath 'com.android.tools.build:gradle:2.2.0-alpha4'
 classpath 'com.google.gms:google-services:3.0.0'
 }
 }

Slide 16

Slide 16 text

// app build.gradle android {
 compileSdkVersion 23
 buildToolsVersion "23.0.3"
 defaultConfig {
 applicationId “com.alexsimo.sanum" [. . .] apply plugin: 'com.google.gms.google-services'

Slide 17

Slide 17 text

// firebase libraries 
 def version = "9.2.0"
 
 compile "com.google.firebase:firebase-core:${version}" // Analytics
 compile "com.google.firebase:firebase-database:${version}" // Realtime Database
 compile "com.google.firebase:firebase-storage:${version}" // Storage
 compile "com.google.firebase:firebase-crash:${version}" // Crash Reporting
 compile "com.google.firebase:firebase-auth:${version}" // Authentication
 compile "com.google.firebase:firebase-messaging:${version}" // Cloud Messaging
 compile "com.google.firebase:firebase-config:${version}" // Remote Config
 compile "com.google.firebase:firebase-invites:${version}" // Invites / Dynamic Links
 compile "com.google.firebase:firebase-ads:${version}" // AdMob
 compile "com.google.android.gms:play-services-appindexing:${version}" // App Indexing

Slide 18

Slide 18 text

// firebase libraries 
 def version = "9.2.0"
 
 compile "com.google.firebase:firebase-core:${version}" // Analytics
 compile "com.google.firebase:firebase-database:${version}" // Realtime Database
 compile "com.google.firebase:firebase-storage:${version}" // Storage
 compile "com.google.firebase:firebase-crash:${version}" // Crash Reporting
 compile "com.google.firebase:firebase-auth:${version}" // Authentication
 compile "com.google.firebase:firebase-messaging:${version}" // Cloud Messaging
 compile "com.google.firebase:firebase-config:${version}" // Remote Config
 compile "com.google.firebase:firebase-invites:${version}" // Invites / Dynamic Links
 compile "com.google.firebase:firebase-ads:${version}" // AdMob
 compile "com.google.android.gms:play-services-appindexing:${version}" // App Indexing

Slide 19

Slide 19 text

+ < v9.20 = ¯\_(ϑ)_/¯

Slide 20

Slide 20 text

// me sad.. D/FirebaseApp: Initialized class com.google.firebase.auth.FirebaseAuth.
 D/FirebaseApp: Initialized class com.google.firebase.iid.FirebaseInstanceId.
 D/FirebaseApp: com.google.firebase.crash.FirebaseCrash is not linked. Skipping initialization.
 I/FirebaseInitProvider: FirebaseApp initialization successful
 W/GooglePlayServicesUtil: Google Play services out of date. Requires 9080000 but found 8489434
 W/FA: Service connection failed: ConnectionResult{statusCode=SERVICE_VERSION_UPDATE_REQUIRED

Slide 21

Slide 21 text

No content

Slide 22

Slide 22 text

// check play services version 
 int code = GooglePlayServicesUtil.GOOGLE_PLAY_SERVICES_VERSION_CODE;
 Timber.d("VERSION: %s", code);
 
 Deprecated

Slide 23

Slide 23 text

// check play services version 
 int result = GoogleApiAvailability.getInstance().isGooglePlayServicesAvailable(this);
 switch (result) {
 case ConnectionResult.SERVICE_MISSING:
 case ConnectionResult.SERVICE_DISABLED:
 case ConnectionResult.SERVICE_VERSION_UPDATE_REQUIRED:
 break;
 }


Slide 24

Slide 24 text

// notify errors int result = GoogleApiAvailability.getInstance().isGooglePlayServicesAvailable(this);
 Dialog dialog = GoogleApiAvailability.getInstance().getErrorDialog(this, result, 123);
 dialog.show();


Slide 25

Slide 25 text

~ 43MB

Slide 26

Slide 26 text

Let’s build an app!

Slide 27

Slide 27 text

Application requirements

Slide 28

Slide 28 text

Authentication Storage Hosting Database

Slide 29

Slide 29 text

Storage Hosting vs

Slide 30

Slide 30 text

Authentication

Slide 31

Slide 31 text

Authentication validations

Slide 32

Slide 32 text

No content

Slide 33

Slide 33 text

Account multi linking

Slide 34

Slide 34 text

Email authentication

Slide 35

Slide 35 text

// firebase user properties {
 "FirebaseUser": {
 "uniqueID": "wbNvyz6ENwPiTrjV2KRkEjH78ZMcU",
 "email": "[email protected]",
 "name": "Alexandru Simonescu",
 "photoURL": "http://alexsimo.com/avatar.png"
 }
 }


Slide 36

Slide 36 text

firebaseAuth.createUserWithEmailAndPassword(email, password)
 .addOnCompleteListener(this, task -> {
 if (task.isSuccessful()) {
 // user created and logged in
 } else {
 // user not created
 // task.getException().getMessage()
 }
 }); // email and password sign up

Slide 37

Slide 37 text

// email and password sign in firebaseAuth.signInWithEmailAndPassword(email, password) .addOnCompleteListener(task -> {
 if (task.isSuccessful()) {
 // user logged in
 String uuid = task.getResult().getUser().getUid();
 Timber.d("User UUID %s", uuid);
 } else {
 // fail sign in
 // task.getException().getMessage();
 }
 });


Slide 38

Slide 38 text

// authentication listener private FirebaseAuth firebaseAuth;
 private FirebaseAuth.AuthStateListener authStateListener;
 
 @Override
 protected void onCreate(Bundle savedInstanceState) {
 // register listener onStart() and onStop() firebaseAuth = FirebaseAuth.getInstance();
 authStateListener = auth -> {
 FirebaseUser user = auth.getCurrentUser();
 if (user != null) {
 Timber.d("User is logged in");
 } else {
 Timber.d("User is not logged in");
 }
 };
 }

Slide 39

Slide 39 text

// obtain user FirebaseUser user = FirebaseAuth.getInstance().getCurrentUser();
 // user can be NULL if (user != null) {
 Timber.d("User is signed in");
 } else {
 Timber.d("No user is signed in");
 }


Slide 40

Slide 40 text

// update user FirebaseUser user = provideFirebaseUser();
 
 UserProfileChangeRequest update = new UserProfileChangeRequest.Builder()
 .setDisplayName("Alex")
 .setPhotoUri(Uri.parse("http://alexsimo.com/avatar.png"))
 .build();
 
 user.updateProfile(update) .addOnSuccessListener(aVoid -> Timber.d("User updated!"));


Slide 41

Slide 41 text

// update sensitive data FirebaseUser user = provideFirebaseUser(); 
 AuthCredential credential = EmailAuthProvider .getCredential("[email protected]", "verysecret");
 
 user.reauthenticate(credential).addOnCompleteListener(task -> {
 Timber.d("User re-authenticated.");
 updatePassword(user, "muchsecret");
 });
 


Slide 42

Slide 42 text

Social Login

Slide 43

Slide 43 text

Social Login 1. Send Google sign in intent for result 2. Receive response on onActivityResult() 3. Extract sign in result and user credentials 4. Sign in using credentials with Firebase Auth

Slide 44

Slide 44 text

Social Login 1. Send Google sign in intent for result 2. Receive response on onActivityResult() 3. Extract sign in result and user credentials 4. Sign in using credentials with Firebase Auth

Slide 45

Slide 45 text

Social Login 1. Send Google sign in intent for result 2. Receive response on onActivityResult() 3. Extract sign in result and user credentials 4. Sign in using credentials with Firebase Auth

Slide 46

Slide 46 text

Social Login 1. Send Google sign in intent for result 2. Receive response on onActivityResult() 3. Extract sign in result and user credentials 4. Sign in using credentials with Firebase Auth

Slide 47

Slide 47 text

// send google sign in intent @Override
 public void onClick(View v) {
 Intent signInIntent = Auth.GoogleSignInApi.getSignInIntent(client);
 startActivityForResult(signInIntent, 1337);
 }


Slide 48

Slide 48 text

// handle onActivityResult @Override
 protected void onActivityResult(int requestCode, int resultCode, Intent data) {
 
 if (requestCode == 1337) {
 GoogleSignInResult result = Auth.GoogleSignInApi.getSignInResultFromIntent(data); 
 firebaseAuthWithGoogle(result.getSignInAccount());
 }
 }

Slide 49

Slide 49 text

// sign in with Firebase 
 AuthCredential credential = GoogleAuthProvider .getCredential(acct.getIdToken(), null);
 firebaseAuth.signInWithCredential(credential) .addOnCompleteListener(this, task -> {
 Timber.d("signInWithCredential: onComplete: %s", task.isSuccessful());
 
 if (!task.isSuccessful()) {
 Timber.e("signInWithCredential: %s", task.getException());
 }
 });

Slide 50

Slide 50 text

Anonymous authentication

Slide 51

Slide 51 text

// anonymous sign in 
 firebaseAuth.signInAnonymously() .addOnSuccessListener(authResult -> {
 String uid = authResult.getUser().getUid();
 Timber.d("UID: %s", uid); 
 });


Slide 52

Slide 52 text

// link anonymous to permanent 
 AuthCredential credential = GoogleAuthProvider.getCredential(token, null);
 
 firebaseAuth.getCurrentUser()
 .linkWithCredential(credential)
 .addOnSuccessListener(authResult -> {
 // google account linked to anonymous
 });


Slide 53

Slide 53 text

// link anonymous to permanent 
 AuthCredential credential = GoogleAuthProvider.getCredential(token, null);
 
 firebaseAuth.getCurrentUser()
 .linkWithCredential(credential)
 .addOnSuccessListener(authResult -> {
 // google account linked to anonymous
 });


Slide 54

Slide 54 text

Hosting

Slide 55

Slide 55 text

Hosting 1. Store simple static content: html, css, js 2. Served over secure connection 3. Fast content delivery network

Slide 56

Slide 56 text

Hosting 1. Store simple static content: html, css, js 2. Served over secure connection 3. Fast content delivery network

Slide 57

Slide 57 text

Hosting 1. Store simple static content: html, css, js 2. Served over secure connection 3. Fast content delivery network

Slide 58

Slide 58 text

Storage

Slide 59

Slide 59 text

Storage 1. Store and server user generated content 2. Uploads and downloads on poor network quality 3. On shoulders of Google Cloud Storage

Slide 60

Slide 60 text

Storage 1. Store and server user generated content 2. Uploads and downloads on poor network quality 3. On shoulders of Google Cloud Storage

Slide 61

Slide 61 text

Storage 1. Store and server user generated content 2. Uploads and downloads on poor network quality 3. On shoulders of Google Cloud Storage

Slide 62

Slide 62 text

// upload file 
 byte[] bytes = readFile();
 StorageReference docRef = storageReference.child(buildFileName());
 
 UploadTask uploadTask = docRef.putBytes(bytes);
 uploadTask.addOnProgressListener(new OnProgressListener() {
 @Override
 public void onProgress(UploadTask.TaskSnapshot taskSnapshot) {
 Timber.d("Bytes transfered: %s", taskSnapshot.getBytesTransferred());
 }
 }).addOnFailureListener(new OnFailureListener() {
 @Override
 public void onFailure(@NonNull Exception e) {
 
 }
 }).addOnSuccessListener(new OnSuccessListener() {
 @Override
 public void onSuccess(UploadTask.TaskSnapshot taskSnapshot) {
 Timber.d("Downloadable from %s", taskSnapshot.getDownloadUrl());
 }
 });


Slide 63

Slide 63 text

// sexy upload file byte[] bytes = readFile();
 StorageReference docRef = storageReference.child(buildFileName());
 
 UploadTask uploadTask = docRef.putBytes(bytes);
 uploadTask
 .addOnProgressListener(snapshot -> Timber.d("Transfered: %s", snapshot.getBytesTransferred()))
 .addOnFailureListener(e -> Timber.e("Ups! %s", e.getMessage()))
 .addOnSuccessListener(snapshot -> Timber.d("Download: %s", snapshot.getDownloadUrl()));

Slide 64

Slide 64 text

// sexy upload file StorageReference ref = storageReference.child("avatar.png");
 
 InputStream stream = new FileInputStream(new File("avatar.jpg"));
 
 UploadTask task = ref.putStream(stream);
 task.addOnFailureListener(exception -> {
 // handle failure
 }).addOnSuccessListener(snapshot -> {
 Uri url = snapshot.getDownloadUrl();
 });


Slide 65

Slide 65 text

// sexy upload file StorageReference ref = storageReference.child("avatar.png");
 
 InputStream stream = new FileInputStream(new File("avatar.jpg"));
 
 UploadTask task = ref.putStream(stream);
 task.addOnFailureListener(exception -> {
 // handle failure
 }).addOnSuccessListener(snapshot -> {
 Uri url = snapshot.getDownloadUrl();
 });


Slide 66

Slide 66 text

// sexy upload file StorageReference ref = storageReference.child("avatar.png");
 
 InputStream stream = new FileInputStream(new File("avatar.jpg"));
 
 UploadTask task = ref.putStream(stream);
 task.addOnFailureListener(exception -> {
 // handle failure
 }).addOnSuccessListener(snapshot -> {
 Uri url = snapshot.getDownloadUrl();
 });


Slide 67

Slide 67 text

// and download? 
 File file = new File(getCacheDir().getAbsolutePath() + "/ temp.png");
 
 StorageReference ref = storageReference.child("avatar.png");
 
 ref.getFile(file).addOnSuccessListener(
 taskSnapshot -> Timber.d("Downloaded! %s", file.exists()));


Slide 68

Slide 68 text

Activity lifecycle and storage 1. Firebase tasks are persistent 2. Pending tasks can be retrieved 3. Continue upload across process kill or restart

Slide 69

Slide 69 text

Activity lifecycle and storage 1. Firebase tasks are persistent 2. Pending tasks can be retrieved 3. Continue upload across process kill or restart

Slide 70

Slide 70 text

Activity lifecycle and storage 1. Firebase tasks are persistent 2. Pending tasks can be retrieved 3. Continue upload across process kill or restart

Slide 71

Slide 71 text

byte[] bytes = readFile();
 docRef = storageReference.child(buildFileName());
 
 UploadTask uploadTask = docRef.putBytes(bytes);
 uploadTask.addOnProgressListener(
 snapshot -> { /* do stuff */ })
 .addOnFailureListener(e -> { /* do stuff */ })
 .addOnSuccessListener(s -> { /* do stuff */ });
 private StorageReference docRef;

Slide 72

Slide 72 text

protected void onSaveInstanceState(Bundle outState) {
 super.onSaveInstanceState(outState);
 
 outState.putString(UPLOAD_KEY, docRef.toString());
 }
 private StorageReference docRef;

Slide 73

Slide 73 text

protected void onRestoreInstanceState(Bundle saved) {
 super.onRestoreInstanceState(saved);
 
 String ref = saved.getString(UPLOAD_KEY);
 
 StorageReference file = getFirebase().getReferenceFromUrl(ref);
 
 UploadTask task = file.getActiveUploadTasks().get(0);
 
 task.addOnCompleteListener(task1 -> { /* handle task */ });
 }


Slide 74

Slide 74 text

Storage tips 1. Limit upload filesize 2. Download to local file, not in memory 3. Filters, crops and more, on client side

Slide 75

Slide 75 text

Storage tips 1. Limit upload filesize 2. Download to local file, not in memory 3. Filters, crops and more, on client side

Slide 76

Slide 76 text

Storage tips 1. Limit upload filesize 2. Download to local file, not in memory 3. Filters, crops and more, on client side

Slide 77

Slide 77 text

Storage validations

Slide 78

Slide 78 text

// just auth users service firebase.storage {
 match /b/.appspot.com/o {
 match /{allPaths=**} {
 allow read, write: if request.auth != null;
 }
 }
 }

Slide 79

Slide 79 text

// file size validation service firebase.storage {
 match /b/.appspot.com/o {
 
 match /{allPaths=**} {
 allow read, write: if request.auth != null;
 }
 
 match /images/{imageId} {
 // only images less than 5MB
 allow write: if request.resource.size < 5 * 1024 * 1024
 && request.resource.metadata.contentType.matches('image/.*');
 }
 }
 }

Slide 80

Slide 80 text

https://firebase.google.com/docs/reference/security/storage/#request

Slide 81

Slide 81 text

// user based validation service firebase.storage {
 match /b/.appspot.com/o {
 
 match /public/{imageId} {
 allow write: if request.auth != null;
 }
 
 match /users/{userId}/{imageId} {
 allow write: if request.auth.uid == userId;
 }
 }

Slide 82

Slide 82 text

// user based validation service firebase.storage {
 match /b/.appspot.com/o {
 
 match /public/{imageId} {
 allow write: if request.auth != null;
 }
 
 match /users/{userId}/{imageId} {
 allow write: if request.auth.uid == userId;
 }
 }

Slide 83

Slide 83 text

Database

Slide 84

Slide 84 text

No content

Slide 85

Slide 85 text

No content

Slide 86

Slide 86 text

Realtime Offline Secure Documental

Slide 87

Slide 87 text

Realtime and Offline

Slide 88

Slide 88 text

Offline support

Slide 89

Slide 89 text

FirebaseDatabase.getInstance().setPersistenceEnabled(true);

Slide 90

Slide 90 text

DatabaseReference recipes = rootRef.child("recipes");
 recipes.keepSynced(true);


Slide 91

Slide 91 text

NoSQL?

Slide 92

Slide 92 text

JSON?

Slide 93

Slide 93 text

NoSQL JSON

Slide 94

Slide 94 text

Tree of lists and objects

Slide 95

Slide 95 text

// first approach 
 DatabaseReference rootRef = FirebaseDatabase.getInstance().getReference();
 
 DatabaseReference recipes = rootRef.child("recipes");
 
 recipes.child(buildId()).setValue("Pancakes");


Slide 96

Slide 96 text

No content

Slide 97

Slide 97 text

// storing objects DatabaseReference rootRef = FirebaseDatabase.getInstance().getReference();
 
 DatabaseReference recipes = rootRef.child("recipes");
 
 String id = buildId();
 
 Recipe recipe = new Recipe(id, "Eggs with potatoes", "Yummy eggs with potatoes");
 
 recipes.child(id).setValue(recipe);


Slide 98

Slide 98 text

No content

Slide 99

Slide 99 text

// first write 
 DatabaseReference rootRef = FirebaseDatabase.getInstance().getReference();
 
 DatabaseReference recipes = rootRef.child("recipes");
 
 recipes.child(buildId()).setValue("Pancakes");


Slide 100

Slide 100 text

// more writing recipes.child(buildId()).setValue("My awesome recipe");
 
 recipes.child("My awesome recipe").push();
 
 recipes.child("4fsh7sx").updateChildren(Map);
 
 recipes.child("4fsh7sx").runTransaction(new Transaction.Handler {...});

Slide 101

Slide 101 text

DatabaseReference rootRef = getRootReference();
 DatabaseReference recipes = rootRef.child("recipes");
 
 recipes.addValueEventListener(new ValueEventListener() {
 
 public void onDataChange(DataSnapshot snapshot) {
 for (DataSnapshot child : snapshot.getChildren()) {
 Timber.d("Key %s", child.getKey());
 }
 }
 
 public void onCancelled(DatabaseError error) {
 // do stuff
 }
 }); // read and listen changes

Slide 102

Slide 102 text

DatabaseReference recipeRef = recipes.child("004");
 
 recipeRef.addListenerForSingleValueEvent(new ValueEventListener() {
 
 public void onDataChange(DataSnapshot snapshot) { 
 Recipe recipe = snapshot.getValue(Recipe.class); 
 }
 }); // read + map objects

Slide 103

Slide 103 text

BONUS

Slide 104

Slide 104 text

No content

Slide 105

Slide 105 text

Structuring data

Slide 106

Slide 106 text

Structuring data 1. Plan how data is going to be saved 2. Map screens to JSON trees 3. Avoid nested data 4. Keep structures flat

Slide 107

Slide 107 text

Structuring data 1. Plan how data is going to be saved 2. Map screens to JSON trees 3. Avoid nested data 4. Keep structures flat

Slide 108

Slide 108 text

Structuring data 1. Plan how data is going to be saved 2. Map screens to JSON trees 3. Avoid nested data 4. Keep structures flat

Slide 109

Slide 109 text

Structuring data 1. Plan how data is going to be saved 2. Map screens to JSON trees 3. Avoid nested data 4. Keep structures flat

Slide 110

Slide 110 text

No content

Slide 111

Slide 111 text

// recipes {
 "users": {
 "wbNvyz6ENwPiT": {
 "email": "[email protected]",
 "name": "Alexandru Simonescu",
 "recipes": {
 "zxcasd": {
 "name" : "Eggs with bacon",
 "duration": "1 hour",
 "ingredientes" : {
 "1" : {
 "name" : "Eggs"
 },
 "2" : {
 "name" : "Bacon"
 }
 }
 }
 }
 }
 }
 }

Slide 112

Slide 112 text

{
 "users": {
 "wbNvyz6ENwPiT": {
 "email": "[email protected]",
 "name": "Alexandru Simonescu",
 "recipes": {
 "zxcasd": {
 "name" : "Eggs with bacon",
 "duration": "1 hour",
 "ingredientes" : {
 "1" : {
 "name" : "Eggs"
 },
 "2" : {
 "name" : "Bacon"
 }
 }
 }
 }
 }
 }
 }

Slide 113

Slide 113 text

// recipes v2 {
 "users" : {
 /* more */
 },
 "recipes" : {
 /* more */
 },
 "ingredients" : {
 /* more */
 }
 }

Slide 114

Slide 114 text

Something is missing..

Slide 115

Slide 115 text

Server side logic

Slide 116

Slide 116 text

Server side logic

Slide 117

Slide 117 text

https://cloud.google.com/solutions/mobile/mobile-firebase-app-engine-flexible

Slide 118

Slide 118 text

No content

Slide 119

Slide 119 text

Forgetting Firebase

Slide 120

Slide 120 text

Remember Parse?

Slide 121

Slide 121 text

Decouple

Slide 122

Slide 122 text

Decouple

Slide 123

Slide 123 text

Decouple

Slide 124

Slide 124 text

No content

Slide 125

Slide 125 text

No content

Slide 126

Slide 126 text

https://twitter.com/JakeWharton/status/752162360916258816

Slide 127

Slide 127 text

// convert async callbacks to rx private Observable createFirebaseUser( String email, String password) {
 
 return Observable.fromAsync(emitter -> auth.createUserWithEmailAndPassword(email, password)
 .addOnSuccessListener(authResult -> {
 FirebaseUser user = authResult.getUser();
 emitter.onNext(new User(user.getUid(), user.getEmail()));
 emitter.onCompleted();
 })
 .addOnFailureListener(emitter::onError), AsyncEmitter.BackpressureMode.BUFFER);
 }

Slide 128

Slide 128 text

REST API

Slide 129

Slide 129 text

Firebase Myths

Slide 130

Slide 130 text

Myths 1. Production ready 2. Price 3. Scalability

Slide 131

Slide 131 text

Myths 1. Production ready 2. Price 3. Scalability

Slide 132

Slide 132 text

Myths 1. Production ready 2. Price 3. Scalability

Slide 133

Slide 133 text

Firebase tips

Slide 134

Slide 134 text

Tips and tricks 1. Cache data as much as posible 2. Compare predefined plan with pay as you go 3. Take care with migrations 4. Versionate datasource entities

Slide 135

Slide 135 text

Tips and tricks 1. Cache data as much as posible 2. Compare predefined plan with pay as you go 3. Take care with migrations 4. Versionate datasource entities

Slide 136

Slide 136 text

Tips and tricks 1. Cache data as much as posible 2. Compare predefined plan with pay as you go 3. Take care with migrations 4. Versionate datasource entities

Slide 137

Slide 137 text

Tips and tricks 1. Cache data as much as posible 2. Compare predefined plan with pay as you go 3. Take care with migrations 4. Versionate datasource entities

Slide 138

Slide 138 text

Links • Serverless architectures http://martinfowler.com/articles/serverless.html • Firebase official documentation https://firebase.google.com/docs • Firebase official documentation firebase-community.slack.com • The key to Firebase security https://www.youtube.com/watch?v=PUBnlbjZFAI

Slide 139

Slide 139 text

+ Inspiring people

Slide 140

Slide 140 text

Questions?

Slide 141

Slide 141 text

Thanks! @alexsimonescu