Firebase with NodeJS & Express - CRUD Operations(API)

Поделиться
HTML-код
  • Опубликовано: 4 ноя 2024

Комментарии • 76

  • @foodfairyshi
    @foodfairyshi 8 месяцев назад +6

    Useful video. Simple and easy to understand! Just a quick note if anyone faces the ERR_PACKAGE_PATH_NOT_EXPORTED error just change the version of Firebase to 8.6.8 in both package.json and package-lock.json and run npm i and then proceed.

    • @ddking-zr2gb
      @ddking-zr2gb 7 дней назад

      Never touch package-lock.json
      It's dangerous. Let npm do it

  • @thebitrunner5784
    @thebitrunner5784 9 месяцев назад

    Thanks for the tutorial my dear friend! Greetings from Mexico

  • @TechTillDawn
    @TechTillDawn 3 года назад +6

    Hi, nice video but this is an old procedure, now firebase tells firebase-admin package on their documentation to access the cloud firestore. Can you please check it and update your video or post another content?

  • @semsomify
    @semsomify 3 месяца назад

    Thank you Syed, great video!

  • @BSCSM-NaveedNizami
    @BSCSM-NaveedNizami 11 месяцев назад +1

    node:internal/modules/cjs/loader:573
    throw e;
    ^
    Error [ERR_PACKAGE_PATH_NOT_EXPORTED]: No "exports" main defined in C:\Users\HP\Desktop\apiss
    ode_modules\firebase\package.json when i am import config.js in the index.js file i m getting this error again and again

  • @anandverma4357
    @anandverma4357 Год назад +2

    Hii sir showing error No "exported"
    How to resolve it sir
    Code is just copy from your video
    Plzz help me sir

    • @taffy_chamy
      @taffy_chamy Год назад

      changed my dependencies in the package json to "cors": "^2.8.5",
      "express": "^4.18.2",
      "firebase": "^8.6.8",
      "nodemon": "^3.0.1"
      and i managed to get rid of the error . Hope this helps

  • @abeercodes
    @abeercodes 2 года назад +1

    That content was very helpful for me. Very good content

  • @eyassh6747
    @eyassh6747 2 года назад

    Thanks for the tutorial I learned mongo and needed reassurance when it came to firebase I'll follow your other tutorials 😊

  • @NandhaKumar-tz7dp
    @NandhaKumar-tz7dp Год назад

    What happens if you send two of those objects in a req body only one id will be generated for those two objects right?
    How to avoid that ..

  • @techhackz2897
    @techhackz2897 2 года назад +1

    The quality of the content is amazing but please increase the quality of video recording

    • @SyedZano
      @SyedZano  2 года назад +1

      It was starting. Quality will grow eventually with time

  • @meenukumari7458
    @meenukumari7458 2 года назад +4

    No "exports" main defined in E:\task\full-stack-task\backend
    ode_modules\firebase\package.json
    ehy this error is coming please reply

    • @SilvereonRS
      @SilvereonRS 2 года назад +13

      First install firebase-admin by 'npm i firebase-admin'
      After that in the config file, change 'const firebase= require('firebase);' to 'const firebase= require('firebase-admin');'

    • @christianborrello1922
      @christianborrello1922 2 года назад

      same issue :(

    • @SilvereonRS
      @SilvereonRS 2 года назад +10

      @@christianborrello1922 I too found some issue in the later stages...
      The permanent solution to all my problems was uninstalling the firebase v9 and installing the firebase version used in the video
      For that i went to the github repo of this project and under package.json i found firebase version as 8.6.8
      Next i did:
      *npm uninstall firebase*
      *npm i firebase@8.6.8*
      Hope this solves your issue too
      Edit: Also u won't be requiring firebase-admin after this

    • @vialvial1246
      @vialvial1246 2 года назад +1

      @@SilvereonRS Thank you!

    • @SilvereonRS
      @SilvereonRS 2 года назад

      @@vialvial1246 You're welcome!

  • @mikes0703
    @mikes0703 Год назад

    gracias desde mexico buen ejemplo de CRUD

  • @Dev-or8cu
    @Dev-or8cu Год назад

    Thank you for the amazing explanation.
    Could you please tell me how will i know if the data was succesfully inserted

  • @TheProGamerVibes
    @TheProGamerVibes 10 месяцев назад

    i have error Error [ERR_PACKAGE_PATH_NOT_EXPORTED]: No "exports" main defined in C:
    odejs_project
    odejsFirebase
    ode_modules\firebase\package.json

    • @dukensroberthilaire8712
      @dukensroberthilaire8712 8 месяцев назад

      Just change the version of Firebase to 8.6.8 in both package.json and package-lock.json and run npm i

  • @cole_mcconnell
    @cole_mcconnell 2 года назад

    insanely good video man, thanks so much for showing this :)

  • @myselfsohit
    @myselfsohit 3 года назад +3

    how to deploy this in some specific url

  • @ashishdeora8522
    @ashishdeora8522 2 года назад +1

    Best tutorial bhai.

  • @coolrash
    @coolrash Год назад

    it code dont work, i guess now need use firebase-admin?

  • @lucassekwati4199
    @lucassekwati4199 3 месяца назад

    Thank you for the tutorial

  • @abdel-samadebouderga4954
    @abdel-samadebouderga4954 Год назад

    with the new version of firebase this code don't work

  • @manthanank
    @manthanank 2 года назад +2

    pushing node modules to github is not good practice, must put in gitiggnore file.

    • @SyedZano
      @SyedZano  2 года назад +1

      I know, just pushed like.

  • @chandra9405
    @chandra9405 2 года назад

    Thank you. I am a newbie here and it is quite enlightning!..😀

  • @OmkarMohol99
    @OmkarMohol99 Год назад

    Reqlly good. Appreciated❤️❤️❤️

  • @clashroyalepro9082
    @clashroyalepro9082 3 года назад +1

    Hey mate I've watch your video on visualisation of matplotlib in flask it was really amazing but one thing I'm facing problem is that if I try to put the other values it's repeating on the previous one

  • @prasadaguru
    @prasadaguru Год назад

    can we access the firebase and mongoDB in same data base ? and one more thing can we maintain same data in fire base and mongoDB.

  • @neerajtangariya4067
    @neerajtangariya4067 2 года назад

    i think for firebase version 9 google updated its docs. Now for adding addDoc, getDocs is being used.
    please make new video on version 9

  • @SMITSHINGALA
    @SMITSHINGALA Год назад

    bro now i get error like this No "exports" main defined what is problem in connetiton in node js now

    • @taffy_chamy
      @taffy_chamy Год назад

      changed my dependencies in the package json to "cors": "^2.8.5",
      "express": "^4.18.2",
      "firebase": "^8.6.8",
      "nodemon": "^3.0.1"
      and i managed to get rid of the error .
      Hope this helps

  • @leegeorge6617
    @leegeorge6617 2 года назад

    am I the onlone getting this error code: 'ERR_PACKAGE_PATH_NOT_EXPORTED'. Eerything I try online does not work

    • @SyedZano
      @SyedZano  2 года назад +2

      Use the version that I'm using in the repo

    • @leegeorge6617
      @leegeorge6617 2 года назад

      @@SyedZano Thank you very much for replying.

    • @leegeorge6617
      @leegeorge6617 2 года назад

      @@SyedZano Thank you so much. A solution after 5 hours of wasted time

  • @workandhs
    @workandhs 2 года назад +1

    super helpful, thanks!

  • @ramirogonzalez7589
    @ramirogonzalez7589 Год назад

    Very helpfull man, thank you

  • @caterinabiagiotti1252
    @caterinabiagiotti1252 2 года назад

    hi,nice video. could i please ask how to configure the thunder client part, it says it doesn't connect with the server

  • @SMITSHINGALA
    @SMITSHINGALA Год назад

    sir can make more videos in firebase and node js

  • @NarendraMali-m4q
    @NarendraMali-m4q Год назад

    thanks nice explanations

  • @bakunyaa
    @bakunyaa 2 года назад

    Thats a nice tutorial man, but i suggest you to zoom in your screen.

  • @chrismalatji
    @chrismalatji 2 года назад +1

    Thank you so much
    🙃

  • @rahulgawale
    @rahulgawale 2 года назад

    I am getting error as nodemon is not a command, I have already installed nodemon

    • @SyedZano
      @SyedZano  2 года назад +1

      Install globally

    • @rahulgawale
      @rahulgawale 2 года назад

      @@SyedZano thanks that worked!

  • @lumagabriela9315
    @lumagabriela9315 Год назад

    thank you so much

  • @25kirtan
    @25kirtan 2 года назад

    mast video bhai

  • @VinithKumarM-x3m
    @VinithKumarM-x3m Год назад

    Thanks a ton

  • @aldialfarnando6813
    @aldialfarnando6813 8 месяцев назад

    13:36 google will never give you a job 😅

  • @franklinxavierrodriguezsan3359
    @franklinxavierrodriguezsan3359 3 года назад

    Excellent!

  • @devkon63
    @devkon63 3 года назад

    Good One Thank you keep it up Brother

  • @antoniofuller2331
    @antoniofuller2331 3 года назад +1

    Hmm

  • @asadullah7324
    @asadullah7324 2 года назад

    thank you so much