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
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/
Is this the same tutor?
Yeah this is the same instructor
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?
I mean, testing works but when trying to create through your code...fails with that message!!!
@@oscargonzalez5838 Your API route isn't created properly. Double check your code to see if it perfectly matches mine.
Free code camp is a gift to humanity
If i ever land a job, it'll be mostly cause of that channel, i'll definitely support !
Honestly....
True
I'm from MARS, it's helpful for all planetary species.
Finished a 2 year full stack cruse and this is always a wonderful addition to relook at❤
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!
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.
Straight forward, love your teaching style!
Funny how we are currently learning this at work.
Perfect timing, thank you!
Simple, effective and straight to the point. Thank you for the tutorial 💪🏽❤❤
Well structured and very well taught. Thanks for all your efforts Harris and FCC! Kudos😀
Such an awesome course, Many thanks 👍🏼
that's what I was looking for, thank man❤❤
This is really clear and helpful! Thank you so much!!!
This was an awesomw video and a great headstart in my backend journey
Best Crud-app-backend Video. Thank you for this Video.
I am glad my friend saw this video and referred it to me. Thank you very much .
WOW!!! This tutorial is
awesome
Thank you so much for the knowledge that you brought to us. Thank you! Thank you! Thank you!
that was a genuine Crud API tutorial, thank you so much
that is amazing, which is really awesome! thank you so much for the tutorial :D
So quick and concise!! Man this tutor is amazing
Love this video. Thank You
I learned so much from this course, thank you so much
This is a very helpful video and cleared the basics very well!
Excellent Video !!! Much appreciated
Value packed tutorial.. Straight to the point
Thanks for the excelent tutorial @CodingCleverly. God bless you, mate.
I am designing a database and this is so helpful 😢thanks
Great tutorial, very helpful!
The best tutorial for backend on youtube
excellent, Well Explained
clear and precise. thanks
Thanks for this ❤
Amazing! What I most like was using a professional way to organize things
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.
Thanks for this 🙏🙏🙏
Great Video Haris Iftikhar!
thank you ..this was easy to follow along and implement
A very useful lesson. Without many words. Get well soon, author!
THANK YOU SO MUCH SIR . I FEEL VERY CONFIDENT JUST BECAUSE OF YOUR SIMPLE TUTORIAL..
nice job bro, thx a lot
Great tutorial
Awesome tutorial
Thanks a lot lifesaver! 🙌
very nicely explained. thank you
Thank you so much!
Thank you very much, I learnt a lot
best tutorial out there very simple and to the point i learned a lot thankyou so much @CodingCleverly love from Delhi
Well done! ✅
Incredible video
Thank you very much brother i learn express js and mongodb just in one day .
Top class explanation....
What a great video. Unbelievable.
It's very nice to watch your video it's very understanding and thanks for this video
Thankyou so much Sir!
Thanks for this video tutorial.
This is great
This is great! freecode camp please give us more backend dev videos!
It's great, Thank you
Thankyou 💝
Thank you so much
I got taught this exact way in my bootcamp
nice tutorial third time watching end to end
This is Brad Traversy quality! ❤
Thank you 😊
He so dedicated with his work
perfect video
Thank you
excelllent video
without the RRRRR hehehe i love it! exactly what i was looking for as i prefer mithril and vue to react. thank you :)
its a great tutorial and i learnt many different ways you could use the word "essentially" ..Lol
short and precise
Thanks for video. Please do a comprehensive tutorial on SwiftUI
Thanks buddies
dammn this is so good 🔥🔥🔥🔥
Good for beginners
thankyou kub
finally after 2 fuc....in weeks ....thanks macha
Thanks
Please upload detailed course for Ruby on rails and RSpec also.
Great
Nice
muchas gracias por tu enseñanza y a freecodecamp, deje mi like me gustaria que hicieran una mas avanzada.
thaaaank youuu
Finally a video I can watch without 2x speed
I still 2x speeded it
@@k-c legend
@@k-c Me too! I've a bad habit, I cannot watch educational videos other than 2x speed.
what is the theme you install to VS code for dev back end ? plz tell me sir
From now on, all i am saying is: "coming from the database, this is amazing."
Thank you!!, this tutorial is good!!!
i want to know which extension you used in vs code ?
whats that extension he uses for getting clues even before typing?
can you guys create an video on jest testing for angular and node.js with typescript it would be helpful
hope you make extend for this video just about deafferents for connect to sql server database on azure ? - thanks again
Nicely explained 👍
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"
Thumbs up
Can you do unit test and integration test tutorial next?
Make a Datastructure and algorithms with C programming course
Thx For all
2nd comment life saving video ♥️💥
I love you, they are a blessing.
regards from Argentina
Seriously are u a Senior Developer??? I can't believe 😄
what is the plugin name for co -pilot you mentioned at 6:55