Getting Started with Cloud Firestore with Node.js - Firecasts

preview_player
Показать описание
In this episode of Firecasts, Jen Person shows you how to get started using the Firebase Admin SDK to read and write data with Cloud Firestore. The Firebase Admin SDK is shown for Node. js, but Java, Python, & Go are also supported. If you're interested in learning more, be sure to check out the links below!

Рекомендации по теме
Комментарии
Автор

if you are a beginner like me, and just want this to get the code up and running, note that the getQuote() code is not provided, and it won't work if you strictly follow the video. To make it work replace the getQuote() stuff with this:

function getQuote() {
const quoteData = {
quote: "random",
author: "String"
};
return => {
console.log("new quote was written to the database");})
}

getQuote();

nixon
Автор

Awesome firecast, Jen! Can you continue where you left off an implement push notifications, that'd be super cool!

mateja
Автор

I am learning node ... and i don't find these short burst tutorials all that useful. I have followed several and built various mini firebase apps but always end up with more questions than answers.
It would be great if you could show how to use firebase to build an incredibly simple app which covers everything you need to build a real world app. Including authentication, crud, jwt and whatever other essential features are required to build and app these days.

JohnSmith-rnvl
Автор

Can we get a Cloud Firestore security rules lesson.

tomscanlan
Автор

Thank you, this is what I was looking for!!

Lovedeep
Автор

I'm confused, using this method would I still need to host my server? since i'm using express locally would rather have the server and database together on firebase. if this isn't the video for my needs please comment on which video I should watch to do what i'm asking.

TheNamesJT
Автор

Can firebase-admin sdk override firestore rules?

Suppose I have an app and to fetch, update or delete data from it, you have to be the perticular document's creator. If I try to change the document using firebase-admin sdk, will that deny my approach? Or I can break every rules and change the document without being owner of it?

djbravo
Автор

Great Video! Should've also shown the getQuote(), that would have made following along easier, though I tried with simple dummy data and it worked.

parasmanikc
Автор

I was missing the credentials... thank you for this!

camillo
Автор

You can find the code here based on the video:

zajdoszabolcs
Автор

Thank you this helped me. It was a little fast and maybe not as practical (using more UI might help) to follow along with. This did help me accomplish this task.

planetmall
Автор

Admin sdk can't access direct method storage? To delete a image file from url download.

lukecross
Автор

Should be this the approach to migrate mi data(from other services) to Firestore?

DiegoJaraPalomino
Автор

I will try this approach for my next project, thanks Jen

danielflores
Автор

Thank u so much for this video! I couldn't run "firebase serve".

doniyorotamurodov
Автор

How do I delete documents of an collection that meet specific conditions via the where statement?

aviralsaxena
Автор

Help!! i get the error: "ReferenceError: getQuote is not defined"

Henry
Автор

Just one point: Once you read doc().then(doc), you get the value with "doc.data()"

praveenkumarax
Автор

How do you return a promise from getQuote() ?

jaronfort
Автор

Say if multiple doc.set operations occur a second, does firebase guarantee that all of the clients will see every single change? e.g. if called a 1000 times a second, would each client receive 1000 quotes a second.

AmsaAce