Create A GraphQL API with Apollo Server V3 and MongoDB Atlas
Vložit
- čas přidán 4. 06. 2022
- Enjoying my videos? Sign up for more content here: www.coopercodes.com/
📩 Join CodeLetter by Cooper Codes, the 3 minute tech newsletter: thecodeletter.com
Join the Cooper Codes Community: / discord (Weekly calls, free resources, tutoring, and more!)
In this graphql tutorial I show you how to create a GraphQL CRUD API using Apollo Server and MongoDB Atlas, this is a great stack for developing projects that scale and creating codebases that are sustainable and easy to work with. In the video we create an API where you can create recipes, edit recipes, and delete recipes. This video is great for an introduction to GraphQL, and an introduction to Apollo Server. If you are looking to increase you backend programming skills as a developer, this video is a great place to start.
Buying stuff through my Amazon link supports the channel! amzn.to/3hK5gd0
Business inquiry? Email thecoopercodes@gmail.com - Věda a technologie
THE best graphql CRUD API tutorial!
Straight to the point, no gimmicks, easy to understand!
Looks great. Would have been nice to also get the source code though.
To add, this is a Backend Nodejs MongoDb Apollo Tutorial.
Almost two years later and it's still very helpful and insightful! I just upgraded to Apollo Server V4 and I preferred to work with the type module, but the foundation and, especially, your teaching are absolutely perfect. Thank you, Cooper!
One of the best tutorial videos. Glad I didn't have to watch 3hrs long tutorials just to know graphQL crud operations.
Best tutorial in CZcams... great explanation and teaching skills! Thanks a lot!
The speed, the explanation are all so good and easy to understand, i hope you provide tutorials on other tech stacks too!
Glad you enjoyed! Are there any stacks in specific you’re interested in seeing?
Great teacher ! Great Coder . The exact knowledge required, thumbs UP a thousand times
Better than the Apollo and Mongose documentation!
Thanks so much! Appreciate the comment
This came in very handy for me Final Project. Your videos have given me many ideas and helped me develop them. Great videos, I hope your channel blows up hard ^^
Hopefully I blow up :). Thanks so much for the comment, glad to see the content helps.
Thanks aloot i got the basics in just a split time💯💯
Thank you for that one! fast and informative!
Crystal clear explanation.
Super cool. Thank you so much. It was so helpful
Excellent. Thank you so much.
bravo the best video at all , you the best you deserve 100000 subsciber
Well Explained ❤
yeah this really glued it all together for me this was perfect
Glad to hear it was valuable for you Peter, thank you for watching :)
Thank you so much Cooper. The best one I can get from internet!✴
You're welcome my guy thank you for watching
exact required video for me.
Thanks for this great gql tutorial
Thanks so much for watching! Appreciate the compliment and comment
This is really helpful 😃
You are best. ❤
22:57 "programmers don't know much about getting dates, but that's okay" lmaooo
🤣i try to add in the lighthearted humor at times. glad you caught this one.
awsome content
Nice tutorial
Thank you so much🤝🤝
Hi, very nice tutorial, I finally get it, thank you. 🤩
Glad to hear it was helpful, thank you for watching!
@@CooperCodes Are you planning to make a follow up video? Frontend using this api in react (Next.js)? It would be great.🧐😃
best video
Best tutorial
Hah glad you think that :), thanks for watching
Can you make a video on how to use this api to buildout the front end.
great job, Mr.Cooper ,could you give us a video for multiple-table(many to many) of crud? we are looking forward to you
I'm going to be creating an apollo server full stack project soon (next couple weeks) which should feature this. Thanks for the comment and recommendation :)
i find it interesting you know how to use async but on the mongodb connect you choose to use then
that's the great tutorial
==========================
I have one question: can you please tell me how can I add the array of objects or arrays at time of the creating the data? how to define the type and resolver's file?
23:00 ooooooooof lmao
thank you thank you thank you thank you
youre welcome youre welcome youre welcome youre welcome :) hah serious tho thank you for watching
WoW
Hey, your videos are super helpful. Can you please make a video on how to deploy the Apollo server from the authentication video series? Thanks
Thanks for the comment :) , I'll make a video on deploying Apollo Server to Heroku soon.
@@CooperCodes did you ever make the video?
Please do on v4! Thanks
Thanks for the video definitely going to go through and review your other content as well. Question: As a new developer even though you explain some of the syntax and so on I still find myself getting a bit confused. Is the only way to get better to read documentation? I do a lot of leetcode and watch tutorials but don't feel like I'm improving.
Admittedly, a majority of my videos so far come from the perspective of putting everything together. In the future I plan to do videos on Javascript syntax. One of the main reasons I only briefly explain syntax in my project based videos is that it can really bring a 30 minute video into the 1 hour range, so the audience is definitely intermediate / those already familiar with syntax. I think a beginner can still learn a bunch though, I’d recommend looking into “async/ await functions”, “passing in object as parameter”, “module.exports and require explanation”. You’d be surprised how often these pop up when working with libraries.
@@CooperCodes Thank you! I look forward to the syntax videos. It can be hard to prioritize what to learn when you need a job
great vedio, if there is subscription sample will be pereft.
Thanks for the comment :) , there is another video on my channel covering subscriptions although I may update it soon.
where can i find these codes
Relationship between models??
By far the most confusing way to do object destructuring. Amount is an Int why do you still need to use destructuring to get the amount variable?
Hey!, Cooper can you tell me the best way to upload multiple images in Mongodb by Graphql. I want to upload 4-5 images in Product table.
Hey there! I'll look into images on MongoDB and get started on some content for that soon :)
@@CooperCodes Thank you Cooper, Love your content !
Hey Cooper any Idea about how to get intellisense work for mongoose methods. I am not getting properties/methods shown when I am using 'dot' after my models.
Hello Cooper, you there ???
Hey sorry man, don’t know anything about this in particular. I’ll look into this soon
@@CooperCodes Thank you for your reply !! Please find some time to look into it !! It will be of great help !! In your tutorials theses methods / properties do shows. e.g. (mongoose) models.ExampleUser.find(), I want that find() or findById to be shown by intellisense.
@@vaibhavdani4470 use typescript
can u please provide the code , great video tho
So, when you add GraphQL, you do not need any routes? isn't it? take, for example, a MERN app.
thats the point of graphql
24:12, don't use ._doc, use .toObject method
They're on to V4 already... V3 will be deprecated in Oct, There's already breaking changes
Will be making an updated video soon doing CRUD with V4. I have a subscriptions video that uses V4 if that helps you at all. Best of luck!
@@CooperCodes Thank you! Yes, it'll help. I'm a newly self taught web dev. Every bit helps...
Bro, I am very upset that I don't know how to specify the collection I want to handle and let Mongoose guess what collection I want to handle, #$@$#%$#%$%#%$#$%#%$#
all dry stuff no BS