CRUD API Tutorial - Node, Express, MongoDB

  Рет қаралды 194,303

freeCodeCamp.org

freeCodeCamp.org

Күн бұрын

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

Пікірлер: 215
@CodingCleverly
@CodingCleverly 5 ай бұрын
It's great to have another video uploaded on the best coding channel on KZfaq. Make sure to check out more MERN/NextJS project-based videos from my channel as well! Link: www.youtube.com/@CodingCleverly/
@vadcrch
@vadcrch 5 ай бұрын
Is this the same tutor?
@hasaaniftikhar
@hasaaniftikhar 5 ай бұрын
Yeah this is the same instructor
@oscargonzalez5838
@oscargonzalez5838 4 ай бұрын
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 ай бұрын
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 ай бұрын
Free code camp is a gift to humanity
@honkhonkv2236
@honkhonkv2236 5 ай бұрын
If i ever land a job, it'll be mostly cause of that channel, i'll definitely support !
@michaelo.agboola7685
@michaelo.agboola7685 5 ай бұрын
Honestly....
@lokeshr9794
@lokeshr9794 5 ай бұрын
True
@DhruveelDave
@DhruveelDave 3 ай бұрын
I'm from MARS, it's helpful for all planetary species.
@lachopakapura
@lachopakapura 5 ай бұрын
Finished a 2 year full stack cruse and this is always a wonderful addition to relook at❤
@dominiclingham4006
@dominiclingham4006 2 ай бұрын
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 Ай бұрын
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.
@plumie
@plumie 5 ай бұрын
Funny how we are currently learning this at work. Perfect timing, thank you!
@phunghoangvnuit
@phunghoangvnuit 4 ай бұрын
Straight forward, love your teaching style!
@21pradaofficial4
@21pradaofficial4 5 ай бұрын
Simple, effective and straight to the point. Thank you for the tutorial 💪🏽❤❤
@sharaabsingh
@sharaabsingh Ай бұрын
Well structured and very well taught. Thanks for all your efforts Harris and FCC! Kudos😀
@amenzelealem4282
@amenzelealem4282 4 ай бұрын
Such an awesome course, Many thanks 👍🏼
@sumowll8903
@sumowll8903 3 ай бұрын
This is really clear and helpful! Thank you so much!!!
@The_Developer_
@The_Developer_ 5 ай бұрын
that's what I was looking for, thank man❤❤
@princessuhiene5283
@princessuhiene5283 2 ай бұрын
This was an awesomw video and a great headstart in my backend journey
@xBalaDeCanhaox
@xBalaDeCanhaox 3 ай бұрын
Thank you so much for the knowledge that you brought to us. Thank you! Thank you! Thank you!
@myytkn8526
@myytkn8526 Ай бұрын
Best Crud-app-backend Video. Thank you for this Video.
@KriZtiaN17VL
@KriZtiaN17VL 5 ай бұрын
I am designing a database and this is so helpful 😢thanks
@younesbav0up316
@younesbav0up316 Ай бұрын
that was a genuine Crud API tutorial, thank you so much
@ranie3956
@ranie3956 17 күн бұрын
Thanks for the excelent tutorial @CodingCleverly. God bless you, mate.
@_a_a_.001
@_a_a_.001 2 ай бұрын
I learned so much from this course, thank you so much
@juliuschimaobi
@juliuschimaobi 4 ай бұрын
WOW!!! This tutorial is awesome
@shaikshahed413
@shaikshahed413 Ай бұрын
The best tutorial for backend on youtube
@kennysus6174
@kennysus6174 6 күн бұрын
So quick and concise!! Man this tutor is amazing
@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.
@jose10jusef
@jose10jusef 3 күн бұрын
that is amazing, which is really awesome! thank you so much for the tutorial :D
@poojalahane2584
@poojalahane2584 2 ай бұрын
THANK YOU SO MUCH SIR . I FEEL VERY CONFIDENT JUST BECAUSE OF YOUR SIMPLE TUTORIAL..
@meritalok
@meritalok 5 ай бұрын
best tutorial out there very simple and to the point i learned a lot thankyou so much @CodingCleverly love from Delhi
@kRystal69
@kRystal69 5 ай бұрын
Great Video Haris Iftikhar!
@bhavkushwaha
@bhavkushwaha 28 күн бұрын
This is a very helpful video and cleared the basics very well!
@epictetus__
@epictetus__ 15 күн бұрын
Value packed tutorial.. Straight to the point
@dbruddy
@dbruddy 5 ай бұрын
Love this video. Thank You
@hovaz570
@hovaz570 3 ай бұрын
A very useful lesson. Without many words. Get well soon, author!
@siyabongakhumalo6841
@siyabongakhumalo6841 3 ай бұрын
thank you ..this was easy to follow along and implement
@sarthaksingh-ow8kl
@sarthaksingh-ow8kl Ай бұрын
Excellent Video !!! Much appreciated
@tigranoqroyan-qo4wg
@tigranoqroyan-qo4wg 2 ай бұрын
Thank you very much brother i learn express js and mongodb just in one day .
@kibalamajames4813
@kibalamajames4813 3 ай бұрын
clear and precise. thanks
@Artoziun
@Artoziun Күн бұрын
Great tutorial, very helpful!
@skjcreation24
@skjcreation24 5 ай бұрын
excellent, Well Explained
@chenglongma2979
@chenglongma2979 Ай бұрын
Thank you very much, I learnt a lot
@cloudagnostic
@cloudagnostic 5 ай бұрын
This is Brad Traversy quality! ❤
@thanonhari9643
@thanonhari9643 5 ай бұрын
Thanks for this 🙏🙏🙏
@The_Developer_
@The_Developer_ 5 ай бұрын
Thanks for this ❤
@LibraryOfTheOligarchs
@LibraryOfTheOligarchs 5 ай бұрын
This is great! freecode camp please give us more backend dev videos!
@TPCodes
@TPCodes 5 ай бұрын
Thanks for video. Please do a comprehensive tutorial on SwiftUI
@SrihariPEnCloud
@SrihariPEnCloud Ай бұрын
very nicely explained. thank you
@Dinesh-id2rw
@Dinesh-id2rw Ай бұрын
It's very nice to watch your video it's very understanding and thanks for this video
@gokhanozdemir8970
@gokhanozdemir8970 3 ай бұрын
From now on, all i am saying is: "coming from the database, this is amazing."
@curiosityoftheunknown
@curiosityoftheunknown 4 ай бұрын
its a great tutorial and i learnt many different ways you could use the word "essentially" ..Lol
@sahasrakesara3188
@sahasrakesara3188 4 ай бұрын
Thank you so much!
@saxenavedant61
@saxenavedant61 2 ай бұрын
Thanks a lot lifesaver! 🙌
@rayenhidri584
@rayenhidri584 4 ай бұрын
nice job bro, thx a lot
@kaptainklutch3046
@kaptainklutch3046 5 ай бұрын
I got taught this exact way in my bootcamp
@johnmahugu
@johnmahugu 4 ай бұрын
without the RRRRR hehehe i love it! exactly what i was looking for as i prefer mithril and vue to react. thank you :)
@a1-24-diepvanthanh3
@a1-24-diepvanthanh3 Ай бұрын
He so dedicated with his work
@nasssty284
@nasssty284 5 ай бұрын
Great tutorial
@suryar6137
@suryar6137 13 күн бұрын
Awesome tutorial
@DE4DP00L-cs1ts
@DE4DP00L-cs1ts 5 ай бұрын
Finally a video I can watch without 2x speed
@k-c
@k-c 5 ай бұрын
I still 2x speeded it
@CodingCleverly
@CodingCleverly 4 ай бұрын
@@k-c legend
@shashwatshrey9248
@shashwatshrey9248 4 ай бұрын
​@@k-c Me too! I've a bad habit, I cannot watch educational videos other than 2x speed.
@bookswiper
@bookswiper Ай бұрын
What a great video. Unbelievable.
@IsaacDevSpace
@IsaacDevSpace 3 ай бұрын
Well done! ✅
@MeirunasSmitas
@MeirunasSmitas 3 ай бұрын
Incredible video
@asankayaparathna6634
@asankayaparathna6634 Күн бұрын
It's great, Thank you
@user-sh1wf6nn6z
@user-sh1wf6nn6z 4 ай бұрын
Top class explanation....
@afaqahmad-ef4ky
@afaqahmad-ef4ky 5 ай бұрын
Thankyou 💝
@gunasheelan4130
@gunasheelan4130 5 ай бұрын
can you guys create an video on jest testing for angular and node.js with typescript it would be helpful
@bhavkushwaha
@bhavkushwaha 27 күн бұрын
Thankyou so much Sir!
@warlordgaming7256
@warlordgaming7256 5 ай бұрын
Please upload detailed course for Ruby on rails and RSpec also.
@gmjitendra
@gmjitendra Ай бұрын
Thanks for this video tutorial.
@user-nj1jl2lj8r
@user-nj1jl2lj8r 4 ай бұрын
what is the theme you install to VS code for dev back end ? plz tell me sir
@rubenarzoyan8287
@rubenarzoyan8287 Ай бұрын
Thank you!!, this tutorial is good!!! i want to know which extension you used in vs code ?
@GideonKNgetich
@GideonKNgetich 4 ай бұрын
This is great
@evansmboya3870
@evansmboya3870 2 ай бұрын
nice tutorial third time watching end to end
@venkatkrishna1034
@venkatkrishna1034 4 ай бұрын
Thanks buddies
@victorcervantes4779
@victorcervantes4779 3 ай бұрын
Thank you so much
@tariqahmed8993
@tariqahmed8993 4 ай бұрын
whats that extension he uses for getting clues even before typing?
@AlejandroSanchez-vg7hf
@AlejandroSanchez-vg7hf 5 ай бұрын
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"
@panawanfarm
@panawanfarm 3 ай бұрын
Thank you
@sonishn5222
@sonishn5222 3 ай бұрын
Thank you 😊
@ahmedoraiby3059
@ahmedoraiby3059 Ай бұрын
hope you make extend for this video just about deafferents for connect to sql server database on azure ? - thanks again
@monicamachado2583
@monicamachado2583 Ай бұрын
Hello people. Use type module on package json for imports, require is mostly legacy. I don't think he mentions nodemon at the beginning, just install it for the love of God, otherwise it's pretty annoying to restart the server everytime you make a change. Also, on another note, for quick local tests you can just use boomerang or yarc extensions on your browser. Using curl doesn't work perfectly on macOS and vs at least
@parshant1985
@parshant1985 Ай бұрын
short and precise
@mustafazouari4961
@mustafazouari4961 Ай бұрын
perfect video
@randomplay9145
@randomplay9145 2 ай бұрын
excelllent video
@CodingByAmp
@CodingByAmp 5 ай бұрын
thankyou kub
@ManoharR-di4km
@ManoharR-di4km 2 ай бұрын
finally after 2 fuc....in weeks ....thanks macha
@amoguuche9152
@amoguuche9152 4 ай бұрын
how do i turn off server when i make changes as stated on the 9th min, 28secs of the video
@R3flexx2001
@R3flexx2001 2 ай бұрын
I love you, they are a blessing. regards from Argentina
@rajamannar4861
@rajamannar4861 5 ай бұрын
Thanks
@jonathanromero3034
@jonathanromero3034 2 ай бұрын
muchas gracias por tu enseñanza y a freecodecamp, deje mi like me gustaria que hicieran una mas avanzada.
@MaheshPeddolla-sg4vy
@MaheshPeddolla-sg4vy 4 ай бұрын
Can anyone tell about what extension he used for suggestions?
@marongayo3217
@marongayo3217 5 ай бұрын
This guy is everywhere with his tutorial. Its hard to follow through
@rohanphilip2001
@rohanphilip2001 5 ай бұрын
Make a Datastructure and algorithms with C programming course
@ahmedoraiby3059
@ahmedoraiby3059 Ай бұрын
thanks - but what about authentication and authorization with database for users ?
@kidscodera3043
@kidscodera3043 3 ай бұрын
what is the plugin name for co -pilot you mentioned at 6:55
@antoninobalinado6192
@antoninobalinado6192 29 күн бұрын
Is there a part 2 for this video that creates Frontend?
@muthukumar8009
@muthukumar8009 5 ай бұрын
Great
@kipkorirtonui8229
@kipkorirtonui8229 2 ай бұрын
Good for beginners
@levybenie3331
@levybenie3331 Ай бұрын
Thx For all
@drakenra
@drakenra 5 ай бұрын
Can you do unit test and integration test tutorial next?
@arnabroy2995
@arnabroy2995 Ай бұрын
dammn this is so good 🔥🔥🔥🔥
@rizwansiddique6110
@rizwansiddique6110 19 күн бұрын
how to we setup our Mongodb, Do you have any video?
Learn Express JS In 35 Minutes
36:03
Web Dev Simplified
Рет қаралды 774 М.
Build app using React JS, Node Express JS and Mongo DB (MERN Stack)
22:03
New model rc bird unboxing and testing
00:10
Ruhul Shorts
Рет қаралды 23 МЛН
Каха и суп
00:39
К-Media
Рет қаралды 6 МЛН
ТАМАЕВ УНИЧТОЖИЛ CLS ВЕНГАЛБИ! Конфликт с Ахмедом?!
25:37
How to build a REST API with Node js & Express
58:40
Programming with Mosh
Рет қаралды 1,7 МЛН
MongoDB in 100 Seconds
2:27
Fireship
Рет қаралды 1 МЛН
MongoDB Internal Architecture
43:25
Hussein Nasser
Рет қаралды 83 М.
How to Setup Node.js with TypeScript in 2023
3:45
Beyond Fireship
Рет қаралды 377 М.
What happened to Bluelearn? Final Thoughts
9:04
Curious Harish
Рет қаралды 8 М.
Learn TypeScript - Full Course for Beginners
2:06:13
freeCodeCamp.org
Рет қаралды 41 М.
A Jr Dev For Life?? | Prime Reacts
21:33
ThePrimeTime
Рет қаралды 285 М.
New model rc bird unboxing and testing
00:10
Ruhul Shorts
Рет қаралды 23 МЛН