Firebase Functions Tutorial #19 - Deployment & Next Steps

Hosting With Firebase – Firebase Functions Tutorial #19 – Deployment & Next Steps


Firebase Functions Tutorial #19 – Deployment & Next Steps

Hosting With Firebase

Hey gang, in this final firebase functions tutorial we’ll deploy our website to firebase servers.

🐱‍👤🐱‍👤 JOIN THE GANG –

—————————————-
🐱‍💻 🐱‍💻 My Udemy Courses:
+ Modern JavaScript –
+ Vue JS & Firebase –
+ D3.js & Firebase –

🐱‍💻 🐱‍💻 Course Files:

🐱‍💻 🐱‍💻 Other Related Free Courses:
+ Firebase Firestore –
+ Firebase Authentication –
+ Firebase Hosting –

🐱‍💻 🐱‍💻 The Net Ninja Community Boards:

you search:

Hosting With Firebase

Firebase Functions Tutorial #19 – Deployment & Next Steps

27 thoughts on “Hosting With Firebase – Firebase Functions Tutorial #19 – Deployment & Next Steps

  1. Thanks a lot, Shaun. I have spent the past 7 days studying your series on Firebase Firestore, Firebase Authentication, and Firebase Functions. Now I'm prepared to start working on the codebase of the new company I joined which utilizes Firebase services in great detail.

  2. this is app Activity :
    button.setOnClickListener(new View.OnClickListener() {

    @Override

    public void onClick(View v) {

    final Task<String> taskData = callCloudFunction();

    taskData.addOnCompleteListener(new OnCompleteListener<String>() {

    @Override

    public void onComplete(@NonNull Task<String> task) {

    textView.setText(String.format(Locale.getDefault(), "%s", taskData.getResult()));

    }

    }).addOnFailureListener(new OnFailureListener() {

    @Override

    public void onFailure(@NonNull Exception e) {

    textView.setText(e.getMessage());

    }

    });

    }

    });

    private Task<String> callCloudFunction() {

    FirebaseFunctions mFunctions = FirebaseFunctions.getInstance();

    Object email_find = editText.getText().toString();

    // String textti = editText.getText().toString();

    Map<String, Object> data = new HashMap<>();

    data.put("Email",email_find);

    return mFunctions

    .getHttpsCallable("findemail")

    .call(data)

    .continueWith(new Continuation<HttpsCallableResult, String>() {

    @Override

    public String then(@NonNull Task<HttpsCallableResult> task) {

    return (String) task.getResult().getData();

    }

    });

    }

    index.json !
    exports.findemail = functions.https.onCall(async (data, context) => {

    let email = data.params.Email

    const cityRef = db.collection('Users').doc(email.toString());

    const doc = await cityRef.get();

    if (!doc.exists) {

    console.log('No such document! '+email.toString());

    // resp.send('No Data' +email.toString());

    return "No DATA : "+email.toString();

    } else {

    //console.log('data present', doc.data());

    console.log('Data Present For : '+email);

    return "DATA ! : "+email.toString();

    }

    });

    /*************************************************************************************/
    Plz help cant pass and process String Help !!!!!

  3. For a long time, the "Cloud Functions" hasn't made sense to me. But now I see what it is, thanks to you. I have just finished taking a note of this series. Now I have another book of your series on my bookshelf. You are the best ever. Thank you very much!

  4. Awesome video you re my president and my hero what a explosive documentary , you documentaries have really kept me going on my coding journey cant wait to pick a job and start paying my dues to this wonderful soul……….thanks the #CodingNinja Himself

Leave a Reply

Your email address will not be published. Required fields are marked *