Тёмный

Node js Express js Firebase with Firestore -| Full Crud Restful Services 

Heart Of Programming
Подписаться 2,9 тыс.
Просмотров 62 тыс.
50% 1

Node js Express js Firebase with Firestore -| Full Crud Restful Services
Download:// required framework an IDE
nodejs.org/en/
code.visualstudio.com/
Download complete source code
github.com/Musawirkhann/node-...
This video contains full crud of node js rest full api with express js and
firebase database with firestore .
Like , Share , Subscribe my Channel ,
To View More Programming Videos .
#nodejs #expressjs #firebase #firestore #restfullservices

Опубликовано:

 

6 ноя 2020

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 102   
@camillerungette5050
@camillerungette5050 3 года назад
I was having trouble finding a tutorial on how to use the database function in Firebase. This video is really helpful and well done, than you so much !
@jeffrysandypurnomo5558
@jeffrysandypurnomo5558 3 года назад
AMAZINGGG!! Thankyou so much to enlightening me about backend API, keep it up!!
@mk9834
@mk9834 3 года назад
so much helpful, couldn't thank you enough!
@soulmanifestation150
@soulmanifestation150 2 года назад
Bro, bro, bro, i'm not even halfway through the video, and the quality of you code is so phenomenal. Im enjoying watching this video, because it's not only informative, it's also magnificent. I'm learning so much from it rn. I really want to say, thank you so much for such an amazing video. Honestly!!
@lukejennings2300
@lukejennings2300 Год назад
thank you for this my good sir. so simple and didnt even have to talk. subscribed.
@maverick_wolfe
@maverick_wolfe Год назад
Just what I needed. Thank you!
@up2date201
@up2date201 2 года назад
Awesome work dude, you have really touched my heart of programming! ;)
@rudycassy
@rudycassy 2 года назад
Your video helped me a lot! Saved a lot of time! Thanks a lot!
@ameyamahadevgonal8130
@ameyamahadevgonal8130 2 года назад
The way you code is appreciable...becoz just to save time any one can just start the main express js app without looking into .env files and all...the structure of the files and folder is really what i learnt from this video
@emyduke5539
@emyduke5539 3 года назад
Nice video... thanks for getting me started with Nodejs and Firestore
@Carol-ll3po
@Carol-ll3po 2 года назад
Thanks for the amazing video! It helps to create my first REST API :d
@mohammedjfjfbx7377
@mohammedjfjfbx7377 2 года назад
Thank you, that was a great tutorial!
@pradeephgk
@pradeephgk 3 года назад
MVC framework in node amazing, keep looking for more videos
@smunupatrula176
@smunupatrula176 3 года назад
Thanku very much !! Helped a lot.
@adrienguylagrange4453
@adrienguylagrange4453 Год назад
Thanks a lot, you saved my night ✨
@teeratphoowaborwornphimkul3501
@teeratphoowaborwornphimkul3501 3 года назад
Boss I Love U. Great Shared ===> Profit a lot of people ... Thank you from AkeDev
@harshdalwe8512
@harshdalwe8512 2 года назад
keep up the good work Thank you for this video Please teach us more
@faudek
@faudek 3 года назад
Awesome, thanks a lot!
@erfelipe
@erfelipe 2 года назад
Error [ERR_PACKAGE_PATH_NOT_EXPORTED]: No "exports" main defined in .../package.json - I solved with downgrade to npm install firebase@8.10.0
@denislavgolemanov7499
@denislavgolemanov7499 2 года назад
Thank you!
@shrikilior
@shrikilior 2 года назад
Thanks so much!!
@jockerdj1
@jockerdj1 2 года назад
Thanks bro!, you saved me!!!
@pharmokan
@pharmokan 2 года назад
perfection. 👍
@maxnovikov51
@maxnovikov51 3 года назад
Thank you very much
@veenitchauhan6131
@veenitchauhan6131 3 года назад
Perfect video
@25kirtan
@25kirtan Год назад
great tutorial. thanks
@duongthaomai6081
@duongthaomai6081 2 года назад
Thank you so much.
@southredmondtoxik1885
@southredmondtoxik1885 11 месяцев назад
Thank you❤
@evandroflorscuk1116
@evandroflorscuk1116 2 года назад
Great video!!!
@paulolb9571
@paulolb9571 2 года назад
Awesome work
@AllroundZone
@AllroundZone 2 года назад
great video
@JacobKapitein
@JacobKapitein 3 года назад
Very good video, but I see you don't do any model validation when adding records to collections. This is really important if you want certain fields to be mandatory. We are working with NoSQL here, so this can be very important
@benhmidasaif6946
@benhmidasaif6946 Год назад
that's what I'm looking for but I didn't find something that helps . can you help me with some resources ? video or documents idk ?
@ahmadsaifudins857
@ahmadsaifudins857 2 года назад
thanks you
@sayelfujael6378
@sayelfujael6378 2 года назад
Great tutorial! Would you name the vs extension which is handy here.
@BuAjoyib
@BuAjoyib 7 дней назад
Thank you bro! I respect you! Thanks!😇
@alasilify
@alasilify 2 года назад
This is very nice but I have trouble starting node (npm start). I encountered an error such as this (internal/modules/cjs/loader.js:438 throw error). please help.
@adi9191ful
@adi9191ful Год назад
Great video can you please add token based authentication for apis as well?
@altairbarahona2306
@altairbarahona2306 3 года назад
Te amo / I love you
@jayaminisamaratunga3649
@jayaminisamaratunga3649 2 года назад
cool
@yurisoares2596
@yurisoares2596 2 года назад
Why still install body-parser middleware even though express has built-in ?
@nikhataarajakati5493
@nikhataarajakati5493 3 года назад
Thankyou for a perfect video
@BilalAhmad-ie8ui
@BilalAhmad-ie8ui 2 года назад
wow
@refaeldimri5806
@refaeldimri5806 2 года назад
TNX SO MUCH BRO. two questions: why i do not see the data in console firebase and why the data is deleted when i disconnect the server?
@FactShower
@FactShower 2 года назад
Could not load the default credentials. 400 BAD REQUEST I am having this error in postman
@kensleylewis
@kensleylewis 2 года назад
Very cool. I was able to complete this full training. What should we read up on next to actually get our npm project pushed to firebase hosting?
@heartofprogramming
@heartofprogramming 2 года назад
First install firebase globally in your system. And then run command firebase init. After that follow the steps on command prompt. You will get the hosting.
@kensleylewis
@kensleylewis 2 года назад
@@heartofprogramming Understood. But when run the init process, should we select "Configure a cloud functions directory" or "Configure files for firebase hosting" ? Seems like one is for static pages, while the other is for node.js projects. But what should I select?
@myatnoesmusic
@myatnoesmusic 3 года назад
Create app on firebase but databaseURL is not appeared in config. So, I created at Realtime Database, got database url. And then send post request, got the response "socket hang up"
@heartofprogramming
@heartofprogramming 3 года назад
Please read the firebase new rules for connection string.
@DeViLTh0rn
@DeViLTh0rn 3 года назад
so the model no need schema, only using a class?? wow easier than MongoDB then...
@bhojakrahul5880
@bhojakrahul5880 2 года назад
Sir I have issue how I can connect with you
@bhojakrahul5880
@bhojakrahul5880 2 года назад
How used oauth authectaion with this using emial/password
@RD-ln6zu
@RD-ln6zu 3 года назад
@firebase/firestore: Firestore (8.3.3): Connection GRPC stream error. Code: 14 Message: 14 UNAVAILABLE: No connection established Any idea why am I getting this error?
@heartofprogramming
@heartofprogramming 3 года назад
Go to your firebase account and create database and add your configuration setting in your app.
@pradeephgk
@pradeephgk 3 года назад
@firebase/firestore: Firestore (8.2.9): Connection GRPC stream error. Code: 7 Message: 7 PERMISSION_DENIED: Missing or insufficient permissions. Error [FirebaseError]: 7 PERMISSION_DENIED: Missing or insufficient permissions. Any idea why am I getting this error, I have also updated the security rules to allow all but still the same error, can someone help me on this?
@heartofprogramming
@heartofprogramming 3 года назад
Go to your firbase firestore database panal and then click on Rules tab. And paste this. rules_version = '2'; service cloud.firestore { match /databases/{database}/documents { match /{document=**} { allow read, write: if true; } } } . Then your problem will be solved.
@pradeephgk
@pradeephgk 3 года назад
@@heartofprogramming I have added the same before still getting the same error, I am trying in postman
@poetbornfromashes
@poetbornfromashes 3 года назад
@@pradeephgk check your database expiry time.
@rousselldarcein8447
@rousselldarcein8447 3 года назад
very good demonstration, how can i deploy this project to firebase cloud functions ?
@dars1816
@dars1816 3 года назад
If you'd deploy to firebase functions then don't follow this tutorial because mostly it is for people who wants to deploy it to their own node servers, vps, etc. Otherwise, you'd start with firebase init.
@arturofm
@arturofm 3 года назад
Hi, how are you validating if the request has the right access? For example if someone inspects the code and starts changing it
@DeViLTh0rn
@DeViLTh0rn 3 года назад
you mean auth middleware?
@sebazestrella4326
@sebazestrella4326 2 года назад
where i can find the DATABASE_URL if in the script of my app doesn´t appear
@heartofprogramming
@heartofprogramming 2 года назад
Now there is no need database url. Because firebase have exclude database Url now in config.
@SWIFTEMPIRE65
@SWIFTEMPIRE65 2 года назад
I'm getting this error pls [2021-07-24T15:03:16.377Z] @firebase/firestore: Firestore (8.7.0): Connection GRPC stream error. Code: 3 Message: 3 INVALID_ARGUMENT: Invalid resource field value in the request.
@heartofprogramming
@heartofprogramming 2 года назад
At what request you getting this error? I mean get, post, put, delete?
@radhikarajagiri462
@radhikarajagiri462 3 года назад
I followed this video to setup a firebase , node.js app. Can you please suggest what changes do I make in your setup if I had to deploy in Heroku. Would be really great if you can answer.
@heartofprogramming
@heartofprogramming 3 года назад
You have to get your firebase database credentials first. For this you have to go to firbase official website and create your database. After you get the dB configurations. Now you have to only put these fields in project folder WHERE '. env' file is. That's it.
@radhikarajagiri462
@radhikarajagiri462 3 года назад
@@heartofprogramming yes I did the same. But during deployment it does not get deployed on Heroku. When deployed it does not talk to dB.That would be really helpful if u make a further video on this for deployment on Heroku.
@heartofprogramming
@heartofprogramming 3 года назад
@@radhikarajagiri462 and you have to set in ".env" file on top NODE_ENV=production
@heartofprogramming
@heartofprogramming 3 года назад
OK I will do.
@lgrstudio2856
@lgrstudio2856 Год назад
this tutorial doesn't work anymore. You can't use firebase library in Server side, you have to use firebase-admin instead.
@GeorgeFlorian12
@GeorgeFlorian12 2 года назад
Unfortunately this does not work anymore. There have been changes to the Firebase API and using 'const db = firebase.initializeApp(config.firebaseConfig);' isn't enough. I have fixed it by getting a service account key by going to the Project settings-> Service accounts: And I've changed my "db.js" code to this: const admin = require('firebase-admin'); const serviceAccount = require('./key/serviceAccountKey.json'); const db = admin.initializeApp({ credential: admin.credential.cert(serviceAccount), }); module.exports = db;
@zingacademy3314
@zingacademy3314 3 года назад
HI ...Awesome Work. I am facing issue in update API. Using the same code with just label changes. But I am not seeing any update happening in the firebase document. Can you pls help me ?
@heartofprogramming
@heartofprogramming 3 года назад
You can download my project from the link in description and then see each step that I have coded. Hopefully your problem will be solved.if you still face the problem I will resolve that for you. OK.
@kriangsakchuadram7333
@kriangsakchuadram7333 2 года назад
My databaseURL not show in SDK setup and configuration, Can I do for next step?
@heartofprogramming
@heartofprogramming 2 года назад
There is no need database Url anymore.
@kriangsakchuadram7333
@kriangsakchuadram7333 2 года назад
@@heartofprogramming Ok, sir.
@liamedwardrobinson569
@liamedwardrobinson569 2 года назад
I have a project which is I did with Ejs emulator. However I couldn't success even I tried All ways to deploy my project into firebase. How can I do it?( I want to host it only. I use Mongoose db. )
@heartofprogramming
@heartofprogramming 2 года назад
You can use heroku for hosting. If you don't know how to deploy app on heroku. Here is the link of video in which I have explain in details how to deploy app on heroku. ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-3aVqq7VChr8.html
@liamedwardrobinson569
@liamedwardrobinson569 2 года назад
​@@heartofprogramming Thank you for the msg back. I need firebase. cant't I able to publish in Firebase?
@carloseduardopachecocasara5803
@carloseduardopachecocasara5803 2 года назад
Hi, can someone help me? I have this error when running my project, both with nodemon and without it (internal/modules/cjs/loader.js:905 throw err ;) . I've tried to solve it in several ways, I couldn't do it, has anyone experienced this same problem?
@duongthaomai6081
@duongthaomai6081 2 года назад
i have same problem
@duongthaomai6081
@duongthaomai6081 2 года назад
install firebase-admin instead of firebase
@JacobAzzy10
@JacobAzzy10 2 года назад
For whoever else is having this problem, you install firebase-admin, then on the db.js file you require('firebase-admin') instead of require('firebase')
@duongthaomai6081
@duongthaomai6081 2 года назад
@@JacobAzzy10 that's right
@jhonpaulluceno8257
@jhonpaulluceno8257 3 года назад
NO VOICE?
@mahendrabhade8104
@mahendrabhade8104 3 года назад
Please provide me the source code, I like to study on them.
@heartofprogramming
@heartofprogramming 3 года назад
github.com/Musawirkhann/node-express-firebase
@TechTillDawn
@TechTillDawn 2 года назад
Service model is useless and this is not the standard followed anymore....! Please create a video with updated standards followed now.
@heartofprogramming
@heartofprogramming 2 года назад
I think you don't know about mvc.? If you not please go first learn about mvc.
@TechTillDawn
@TechTillDawn 2 года назад
@@heartofprogramming this is not the standard followed anymore....! I think you ignored this.
@manishas3459
@manishas3459 3 года назад
Send me source code please.
@heartofprogramming
@heartofprogramming 3 года назад
Please click on this link to download source code. github.com/Musawirkhann/node-express-firebase
@pradeephgk
@pradeephgk 3 года назад
@@heartofprogramming Hi I have taken a clone and changed my firestore config data, but still it is not saving, can you share your thoughts on this
@heartofprogramming
@heartofprogramming 3 года назад
@@pradeephgk what is the exectly error you are facing?
@SHAHIDKHAN-bq3ws
@SHAHIDKHAN-bq3ws 3 года назад
Shahid khan
@SHAHIDKHAN-bq3ws
@SHAHIDKHAN-bq3ws 3 года назад
Hi
@ziggyspaz
@ziggyspaz Год назад
Your keys are showing lmao
@rohandevaki4349
@rohandevaki4349 3 года назад
nice video, but no explaination, if you could have explained and if you would have avoided, using song, it would be great. but now it is just a nice video, without explaination , it is not great , or more than nice.
@MrJoaopaulofurtado
@MrJoaopaulofurtado 2 года назад
buy a mic pls
Далее
How to build a REST API with Node js & Express
58:40
Просмотров 1,7 млн
Рыбачка
00:14
Просмотров 16 тыс.
tRPC, gRPC, GraphQL or REST: when to use what?
10:46
Просмотров 71 тыс.
How to integrate PayPal API with Node.js
51:55
Просмотров 2,7 тыс.
Firestore CRUD with NODE.JS 🔥
24:59
Просмотров 25 тыс.
Firebase Functions Authentication - The Diligent Dev
20:35