Build Restful API CRUD With Node.js Express & MongoDB using Postman

แชร์
ฝัง
  • เผยแพร่เมื่อ 27 ธ.ค. 2024

ความคิดเห็น • 44

  • @pratikthorat3480
    @pratikthorat3480 2 ปีที่แล้ว +1

    I have no idea why you have so less subscribers man!
    You are doing such a fine Job.
    I know to build and design API's but this video was so amazing it felt like I learnt a lot more than I already know!!!

  • @digiartpassion8513
    @digiartpassion8513 2 ปีที่แล้ว +4

    You are a life saver my friend !! appreciate your noble work...keep it up

  • @saranga6280
    @saranga6280 ปีที่แล้ว +1

    thank you...... all the things are work😍..............

  • @JBraunXRV750
    @JBraunXRV750 3 ปีที่แล้ว +1

    I wish all tutorials were this clear and concise!

  • @alvaroarmandocorchomasmela3562
    @alvaroarmandocorchomasmela3562 3 ปีที่แล้ว +2

    !!! You are amazing Teacher. Thanks!!!! very clear

  • @msinanas6041
    @msinanas6041 3 ปีที่แล้ว +3

    Hello AB Nation, can you help me? Recently I've tried to follow your tutorial but I get stuck at the "GET" part wherein return I only get an empty array. I also have change the "config.env" file into API-(my database). Would be great if you could help me

    • @ivs5816
      @ivs5816 2 ปีที่แล้ว

      Getting same problem

    • @jayadrienguivencan6769
      @jayadrienguivencan6769 ปีที่แล้ว

      I also have the same problem. Did you already solve it?

  • @dattapande1243
    @dattapande1243 2 ปีที่แล้ว +1

    Nice explanation

  • @031_mohdahmad8
    @031_mohdahmad8 3 ปีที่แล้ว +1

    it keeps giving me this error when i update
    MongoServerError: Performing an update on the path '_id' would modify the immutable field '_id'

    • @ABNATIONProgrammerz553
      @ABNATIONProgrammerz553  3 ปีที่แล้ว

      If you haven't fixed this issue you can send me the code

    • @bhavananangare8156
      @bhavananangare8156 2 ปีที่แล้ว

      ya even i am getting error when I reach 22.43 of video this is the error MongoParseError: option usefindandmodify is not supported
      at parseOptions (C:\Users
      itin\Desktop\Api_Practice
      ode_modules\mongodb\lib\connection_string.js:285:15)
      at new MongoClient (C:\Users
      itin\Desktop\Api_Practice
      ode_modules\mongodb\lib\mongo_client.js:62:63)
      at C:\Users
      itin\Desktop\Api_Practice
      ode_modules\mongoose\lib\connection.js:779:16
      at new Promise ()
      at NativeConnection.Connection.openUri (C:\Users
      itin\Desktop\Api_Practice
      ode_modules\mongoose\lib\connection.js:776:19)
      at C:\Users
      itin\Desktop\Api_Practice
      ode_modules\mongoose\lib\index.js:341:10
      at C:\Users
      itin\Desktop\Api_Practice
      ode_modules\mongoose\lib\helpers\promiseOrCallback.js:32:5
      at new Promise ()
      at promiseOrCallback (C:\Users
      itin\Desktop\Api_Practice
      ode_modules\mongoose\lib\helpers\promiseOrCallback.js:31:10)
      at Mongoose._promiseOrCallback (C:\Users
      itin\Desktop\Api_Practice
      ode_modules\mongoose\lib\index.js:1167:10)
      ync function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 2)
      (node:21212) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.

    • @bhavananangare8156
      @bhavananangare8156 2 ปีที่แล้ว

      @@ABNATIONProgrammerz553 ya even i am getting error when I reach 22.43 of video this is the error MongoParseError: option usefindandmodify is not supported
      at parseOptions (C:\Users
      itin\Desktop\Api_Practice
      ode_modules\mongodb\lib\connection_string.js:285:15)
      at new MongoClient (C:\Users
      itin\Desktop\Api_Practice
      ode_modules\mongodb\lib\mongo_client.js:62:63)
      at C:\Users
      itin\Desktop\Api_Practice
      ode_modules\mongoose\lib\connection.js:779:16
      at new Promise ()
      at NativeConnection.Connection.openUri (C:\Users
      itin\Desktop\Api_Practice
      ode_modules\mongoose\lib\connection.js:776:19)
      at C:\Users
      itin\Desktop\Api_Practice
      ode_modules\mongoose\lib\index.js:341:10
      at C:\Users
      itin\Desktop\Api_Practice
      ode_modules\mongoose\lib\helpers\promiseOrCallback.js:32:5
      at new Promise ()
      at promiseOrCallback (C:\Users
      itin\Desktop\Api_Practice
      ode_modules\mongoose\lib\helpers\promiseOrCallback.js:31:10)
      at Mongoose._promiseOrCallback (C:\Users
      itin\Desktop\Api_Practice
      ode_modules\mongoose\lib\index.js:1167:10)
      ync function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 2)
      (node:21212) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.

    • @ABNATIONProgrammerz553
      @ABNATIONProgrammerz553  2 ปีที่แล้ว

      @@bhavananangare8156 yeah probably i need to check your code before directly addressing the issue.

    • @bhavananangare8156
      @bhavananangare8156 2 ปีที่แล้ว

      @@ABNATIONProgrammerz553 how can I can send you the code ?

  • @computerhackswithsumit7979
    @computerhackswithsumit7979 2 ปีที่แล้ว

    this is pretty much awesome code and time efficient :-*

  • @mianaveed5101
    @mianaveed5101 3 ปีที่แล้ว

    Awesome

  • @ivs5816
    @ivs5816 2 ปีที่แล้ว

    Plz help getting only empty array in api

  • @thienphanphuoc4824
    @thienphanphuoc4824 3 ปีที่แล้ว +1

    Thank for great tutorial. It is 2021 now and it could be better if video in fullhd or more resolution.

  • @saranyavivekanandan9044
    @saranyavivekanandan9044 3 ปีที่แล้ว +1

    Thanks a ton for this video!

  • @dattapande1243
    @dattapande1243 2 ปีที่แล้ว

    Very nice code

  • @mmaverse7880
    @mmaverse7880 3 ปีที่แล้ว

    Thank you so much for this tutorial helped me a lot!!!

  • @mattoosahil
    @mattoosahil 2 ปีที่แล้ว +1

    Life saver!

  • @_kako.
    @_kako. ปีที่แล้ว

    Not everything works in this video cause of the updates from MongoDB so you have to know the basics and changes to perform this.

  • @aishwaryaaish1774
    @aishwaryaaish1774 2 ปีที่แล้ว

    404 not found in post man can someone heliport

    • @aishwaryaaish1774
      @aishwaryaaish1774 2 ปีที่แล้ว

      help out*

    • @ABNATIONProgrammerz553
      @ABNATIONProgrammerz553  2 ปีที่แล้ว

      Hi, Can you please explain your problem.

    • @aishwaryaaish1774
      @aishwaryaaish1774 2 ปีที่แล้ว

      In post man when I entered the url and submit I got 404 error

    • @ABNATIONProgrammerz553
      @ABNATIONProgrammerz553  2 ปีที่แล้ว

      @@aishwaryaaish1774 Can you show me your problem on teams or remote access

    • @aishwaryaaish1774
      @aishwaryaaish1774 2 ปีที่แล้ว +1

      @@ABNATIONProgrammerz553 Thank for you immediate response, its working fine now