CRUD API Tutorial - Node, Express, MongoDB

Поделиться
HTML-код
  • Опубликовано: 25 июл 2024
  • This is a great beginners course to learn the basics of backend development by building a CRUD API with Node.js, Express, and MongoDB. Basically the MERN Stack without the R. Also, learn how to use Postman/ThunderClient and Insomnia for testing purposes.
    Code: github.com/haris-bit/simple-c...
    ✏️ Course developed by ‪@CodingCleverly‬
    ⭐️ Chapters ⭐️
    ⌨️ (0:00:00) Introduction
    ⌨️ (0:01:34) package.json
    ⌨️ (0:04:32) express framework
    ⌨️ (0:09:19) npm run server
    ⌨️ (0:11:19) API testing tools
    ⌨️ (0:15:04) git bash
    ⌨️ (0:17:19) nodemon
    ⌨️ (0:20:40) mongodb setup
    ⌨️ (0:31:24) product model
    ⌨️ (0:41:19) create api
    ⌨️ (0:48:19) read api all
    ⌨️ (0:50:19) read api id
    ⌨️ (0:56:19) update api
    ⌨️ (1:00:19) delete api
    ⌨️ (1:07:49) Form URL Encoded
    ⌨️ (1:12:19) routes
    ⌨️ (1:15:19) controllers
    ⌨️ (1:26:19) checking and testing
    ⌨️ (1:30:19) pushing to github
    🎉 Thanks to our Champion and Sponsor supporters:
    👾 davthecoder
    👾 jedi-or-sith
    👾 南宮千影
    👾 Agustín Kussrow
    👾 Nattira Maneerat
    👾 Heather Wcislo
    👾 Serhiy Kalinets
    👾 Justin Hual
    👾 Otis Morgan
    👾 Oscar Rahnama
    --
    Learn to code for free and get a developer job: www.freecodecamp.org
    Read hundreds of articles on programming: freecodecamp.org/news

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

  • @CodingCleverly
    @CodingCleverly 5 месяцев назад +58

    It's great to have another video uploaded on the best coding channel on RUclips. Make sure to check out more MERN/NextJS project-based videos from my channel as well!
    Link: www.youtube.com/@CodingCleverly/

    • @vadcrch
      @vadcrch 5 месяцев назад +1

      Is this the same tutor?

    • @hasaaniftikhar
      @hasaaniftikhar 5 месяцев назад +4

      Yeah this is the same instructor

    • @oscargonzalez5838
      @oscargonzalez5838 4 месяца назад +1

      Hi. When creating post to save product in MongoDB I get this response in API client. I review a few times code and dont found problem : 500 Internal Server Error...{"message" : "Product.create is not a function" !!!! Previously I send any JSON content for testing and I get same response..Any idea?

    • @oscargonzalez5838
      @oscargonzalez5838 4 месяца назад +1

      I mean, testing works but when trying to create through your code...fails with that message!!!

    • @CodingCleverly
      @CodingCleverly 4 месяца назад

      @@oscargonzalez5838 Your API route isn't created properly. Double check your code to see if it perfectly matches mine.

  • @IndustryOfMagic
    @IndustryOfMagic 5 месяцев назад +182

    Free code camp is a gift to humanity

    • @honkhonkv2236
      @honkhonkv2236 5 месяцев назад +3

      If i ever land a job, it'll be mostly cause of that channel, i'll definitely support !

    • @michaelo.agboola7685
      @michaelo.agboola7685 5 месяцев назад +1

      Honestly....

    • @lokeshr9794
      @lokeshr9794 5 месяцев назад +1

      True

    • @DhruveelDave
      @DhruveelDave 3 месяца назад +2

      I'm from MARS, it's helpful for all planetary species.

  • @lachopakapura
    @lachopakapura 5 месяцев назад +27

    Finished a 2 year full stack cruse and this is always a wonderful addition to relook at❤

  • @dominiclingham4006
    @dominiclingham4006 2 месяца назад +6

    This video was fantastic to begin learning backend development! I've been stuck for a long time not knowing how to begin creating full stack applications (after spending a long time going round and round on frontend using local storage) but this has given me a strong first step! thank you so much!

  • @DavidKHill
    @DavidKHill 2 месяца назад +6

    Thank you!! Thank you!! Finally someone who make complete sense of it all. The frustrating thing as that a lot of these paid courses tend to outdated so much that it trips me up when something changes in the node modules. I came across video after getting complete stopped in a NodeJS course on Code with Mosh course. But now, I think I have enough ammunition to go back to the places where I got stump. As for the MongoDB, I launched a MongoDB Docker container on a couple of boxes to help keep costs down and seemed to work perfectly.
    Thanks for showing me some cool Rest API tools, Postman, Insomnia and the JSON Viewer extension. Those came in very handy. I pulled down the "Rest API Client" by Huachao Mao into Visual Code and found that just making a simple text document with all the Rest API calls worked pretty well too.
    Keep up the fantastic teachings.

  • @phunghoangvnuit
    @phunghoangvnuit 4 месяца назад +6

    Straight forward, love your teaching style!

  • @plumie
    @plumie 5 месяцев назад +9

    Funny how we are currently learning this at work.
    Perfect timing, thank you!

  • @21pradaofficial4
    @21pradaofficial4 5 месяцев назад +3

    Simple, effective and straight to the point. Thank you for the tutorial 💪🏽❤❤

  • @sharaabsingh
    @sharaabsingh Месяц назад +1

    Well structured and very well taught. Thanks for all your efforts Harris and FCC! Kudos😀

  • @amenzelealem4282
    @amenzelealem4282 4 месяца назад +2

    Such an awesome course, Many thanks 👍🏼

  • @The_Developer_
    @The_Developer_ 5 месяцев назад +2

    that's what I was looking for, thank man❤❤

  • @sumowll8903
    @sumowll8903 4 месяца назад +2

    This is really clear and helpful! Thank you so much!!!

  • @princessuhiene5283
    @princessuhiene5283 2 месяца назад +2

    This was an awesomw video and a great headstart in my backend journey

  • @myytkn8526
    @myytkn8526 2 месяца назад +2

    Best Crud-app-backend Video. Thank you for this Video.

  • @Tony-nyan
    @Tony-nyan 3 дня назад

    I am glad my friend saw this video and referred it to me. Thank you very much .

  • @juliuschimaobi
    @juliuschimaobi 5 месяцев назад +5

    WOW!!! This tutorial is
    awesome

  • @xBalaDeCanhaox
    @xBalaDeCanhaox 3 месяца назад +2

    Thank you so much for the knowledge that you brought to us. Thank you! Thank you! Thank you!

  • @younesbav0up316
    @younesbav0up316 Месяц назад

    that was a genuine Crud API tutorial, thank you so much

  • @jose10jusef
    @jose10jusef 8 дней назад

    that is amazing, which is really awesome! thank you so much for the tutorial :D

  • @kennysus6174
    @kennysus6174 11 дней назад

    So quick and concise!! Man this tutor is amazing

  • @dbruddy
    @dbruddy 5 месяцев назад +1

    Love this video. Thank You

  • @_a_a_.001
    @_a_a_.001 2 месяца назад +1

    I learned so much from this course, thank you so much

  • @bhavkushwaha
    @bhavkushwaha Месяц назад

    This is a very helpful video and cleared the basics very well!

  • @sarthaksingh-ow8kl
    @sarthaksingh-ow8kl Месяц назад

    Excellent Video !!! Much appreciated

  • @epictetus__
    @epictetus__ 20 дней назад

    Value packed tutorial.. Straight to the point

  • @ranie3956
    @ranie3956 22 дня назад +1

    Thanks for the excelent tutorial @CodingCleverly. God bless you, mate.

  • @KriZtiaN17VL
    @KriZtiaN17VL 5 месяцев назад +9

    I am designing a database and this is so helpful 😢thanks

  • @Artoziun
    @Artoziun 6 дней назад

    Great tutorial, very helpful!

  • @shaikshahed413
    @shaikshahed413 Месяц назад +1

    The best tutorial for backend on youtube

  • @skjcreation24
    @skjcreation24 5 месяцев назад +3

    excellent, Well Explained

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

    clear and precise. thanks

  • @The_Developer_
    @The_Developer_ 5 месяцев назад

    Thanks for this ❤

  • @AdautoAraujo
    @AdautoAraujo Месяц назад

    Amazing! What I most like was using a professional way to organize things

  • @pratikbhandari9429
    @pratikbhandari9429 Месяц назад

    Your explanation is great brother. I understand every efforts. Finally I learned Mongo db. Thanks a lot.
    This is I first time write a comment on youtube.

  • @thanonhari9643
    @thanonhari9643 5 месяцев назад +2

    Thanks for this 🙏🙏🙏

  • @kRystal69
    @kRystal69 5 месяцев назад +2

    Great Video Haris Iftikhar!

  • @siyabongakhumalo6841
    @siyabongakhumalo6841 4 месяца назад +1

    thank you ..this was easy to follow along and implement

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

    A very useful lesson. Without many words. Get well soon, author!

  • @poojalahane2584
    @poojalahane2584 2 месяца назад +1

    THANK YOU SO MUCH SIR . I FEEL VERY CONFIDENT JUST BECAUSE OF YOUR SIMPLE TUTORIAL..

  • @rayenhidri584
    @rayenhidri584 5 месяцев назад +2

    nice job bro, thx a lot

  • @nasssty284
    @nasssty284 5 месяцев назад +1

    Great tutorial

  • @suryar6137
    @suryar6137 18 дней назад

    Awesome tutorial

  • @saxenavedant61
    @saxenavedant61 2 месяца назад

    Thanks a lot lifesaver! 🙌

  • @SrihariPEnCloud
    @SrihariPEnCloud Месяц назад

    very nicely explained. thank you

  • @sahasrakesara3188
    @sahasrakesara3188 4 месяца назад +1

    Thank you so much!

  • @chenglongma2979
    @chenglongma2979 2 месяца назад

    Thank you very much, I learnt a lot

  • @meritalok
    @meritalok 5 месяцев назад +1

    best tutorial out there very simple and to the point i learned a lot thankyou so much @CodingCleverly love from Delhi

  • @IsaacDevSpace
    @IsaacDevSpace 3 месяца назад +1

    Well done! ✅

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

    Incredible video

  • @tigranoqroyan-qo4wg
    @tigranoqroyan-qo4wg 2 месяца назад

    Thank you very much brother i learn express js and mongodb just in one day .

  • @user-sh1wf6nn6z
    @user-sh1wf6nn6z 4 месяца назад +2

    Top class explanation....

  • @bookswiper
    @bookswiper Месяц назад

    What a great video. Unbelievable.

  • @Dinesh-id2rw
    @Dinesh-id2rw Месяц назад

    It's very nice to watch your video it's very understanding and thanks for this video

  • @bhavkushwaha
    @bhavkushwaha Месяц назад

    Thankyou so much Sir!

  • @gmjitendra
    @gmjitendra Месяц назад

    Thanks for this video tutorial.

  • @GideonKNgetich
    @GideonKNgetich 4 месяца назад +2

    This is great

  • @LibraryOfTheOligarchs
    @LibraryOfTheOligarchs 5 месяцев назад +1

    This is great! freecode camp please give us more backend dev videos!

  • @asankayaparathna6634
    @asankayaparathna6634 6 дней назад

    It's great, Thank you

  • @afaqahmad-ef4ky
    @afaqahmad-ef4ky 5 месяцев назад +1

    Thankyou 💝

  • @victorcervantes4779
    @victorcervantes4779 4 месяца назад +1

    Thank you so much

  • @kaptainklutch3046
    @kaptainklutch3046 5 месяцев назад +2

    I got taught this exact way in my bootcamp

  • @evansmboya3870
    @evansmboya3870 3 месяца назад +1

    nice tutorial third time watching end to end

  • @cloudagnostic
    @cloudagnostic 5 месяцев назад +5

    This is Brad Traversy quality! ❤

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

    Thank you 😊

  • @a1-24-diepvanthanh3
    @a1-24-diepvanthanh3 Месяц назад

    He so dedicated with his work

  • @mustafazouari4961
    @mustafazouari4961 Месяц назад

    perfect video

  • @panawanfarm
    @panawanfarm 3 месяца назад +1

    Thank you

  • @randomplay9145
    @randomplay9145 2 месяца назад

    excelllent video

  • @johnmahugu
    @johnmahugu 4 месяца назад +1

    without the RRRRR hehehe i love it! exactly what i was looking for as i prefer mithril and vue to react. thank you :)

  • @curiosityoftheunknown
    @curiosityoftheunknown 4 месяца назад +1

    its a great tutorial and i learnt many different ways you could use the word "essentially" ..Lol

  • @parshant1985
    @parshant1985 2 месяца назад

    short and precise

  • @TPCodes
    @TPCodes 5 месяцев назад +2

    Thanks for video. Please do a comprehensive tutorial on SwiftUI

  • @venkatkrishna1034
    @venkatkrishna1034 4 месяца назад +1

    Thanks buddies

  • @arnabroy2995
    @arnabroy2995 Месяц назад

    dammn this is so good 🔥🔥🔥🔥

  • @kipkorirtonui8229
    @kipkorirtonui8229 2 месяца назад

    Good for beginners

  • @CodingByAmp
    @CodingByAmp 5 месяцев назад +1

    thankyou kub

  • @ManoharR-di4km
    @ManoharR-di4km 2 месяца назад

    finally after 2 fuc....in weeks ....thanks macha

  • @rajamannar4861
    @rajamannar4861 5 месяцев назад

    Thanks

  • @warlordgaming7256
    @warlordgaming7256 5 месяцев назад +1

    Please upload detailed course for Ruby on rails and RSpec also.

  • @muthukumar8009
    @muthukumar8009 5 месяцев назад

    Great

  • @artizanal60
    @artizanal60 5 месяцев назад

    Nice

  • @jonathanromero3034
    @jonathanromero3034 2 месяца назад

    muchas gracias por tu enseñanza y a freecodecamp, deje mi like me gustaria que hicieran una mas avanzada.

  • @seifeddinekhorchef9409
    @seifeddinekhorchef9409 4 месяца назад

    thaaaank youuu

  • @DE4DP00L-cs1ts
    @DE4DP00L-cs1ts 5 месяцев назад +14

    Finally a video I can watch without 2x speed

    • @k-c
      @k-c 5 месяцев назад +3

      I still 2x speeded it

    • @CodingCleverly
      @CodingCleverly 4 месяца назад +1

      @@k-c legend

    • @shashwatshrey9248
      @shashwatshrey9248 4 месяца назад +1

      ​@@k-c Me too! I've a bad habit, I cannot watch educational videos other than 2x speed.

  • @user-nj1jl2lj8r
    @user-nj1jl2lj8r 4 месяца назад +1

    what is the theme you install to VS code for dev back end ? plz tell me sir

  • @gokhanozdemir8970
    @gokhanozdemir8970 3 месяца назад +2

    From now on, all i am saying is: "coming from the database, this is amazing."

  • @rubenarzoyan8287
    @rubenarzoyan8287 Месяц назад

    Thank you!!, this tutorial is good!!!
    i want to know which extension you used in vs code ?

  • @tariqahmed8993
    @tariqahmed8993 4 месяца назад +1

    whats that extension he uses for getting clues even before typing?

  • @gunasheelan4130
    @gunasheelan4130 5 месяцев назад

    can you guys create an video on jest testing for angular and node.js with typescript it would be helpful

  • @ahmedoraiby3059
    @ahmedoraiby3059 Месяц назад

    hope you make extend for this video just about deafferents for connect to sql server database on azure ? - thanks again

  • @shekhar_ranjan
    @shekhar_ranjan 5 месяцев назад

    Nicely explained 👍

  • @AlejandroSanchez-vg7hf
    @AlejandroSanchez-vg7hf 5 месяцев назад +1

    I got an error message while going through 43.58. When I write the object I click send but I get a message in insomnia "message": "product.create is not a function"

  • @basitmangat3079
    @basitmangat3079 2 месяца назад

    Thumbs up

  • @drakenra
    @drakenra 5 месяцев назад

    Can you do unit test and integration test tutorial next?

  • @rohanphilip2001
    @rohanphilip2001 5 месяцев назад +2

    Make a Datastructure and algorithms with C programming course

  • @levybenie3331
    @levybenie3331 Месяц назад

    Thx For all

  • @houdariyad4889
    @houdariyad4889 5 месяцев назад

    2nd comment life saving video ♥️💥

  • @R3flexx2001
    @R3flexx2001 2 месяца назад

    I love you, they are a blessing.
    regards from Argentina

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

    Seriously are u a Senior Developer??? I can't believe 😄

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

    what is the plugin name for co -pilot you mentioned at 6:55