It's been a while since I've seen a no-bs video with just pure content. Keep it going man, I can't believe the amount of info I got from just watching this video for 18 minutes
i think most people agree that your content is really great! I really like the clean approach of how you explain things based on level of priority during the build process. It really helps to keep things clear cut and to the point. MAKE MORE!!
Thanks so much, your video is easy to understand than most of the premium videos out there. This helps me know exactly how real data can respond from MongoDB with out static resolvers shit out there. Thanks again and keep your great work.
Thanks Ben, been looking for a good explanation of that for a while. You nailed it pretty good! How to deploy to different platforms would be great as well! No one seems to be spending any time talking about that and it is so important and at times so confusing.
I know you didn't ask for my opinion, but I personally prefer mongoose for mongo db and my prisma for my sql. Couldn't wrap my head around sequelize :(
I'm trying to query Mongo using TypeGraphQL but the problem is the presence of space in a database field ("Total issued"). Before remapping the inter DB by removing the space or adding an underscore I was wondering if it is possible to use a different route. Any suggestion is welcomed. Thanks ... This is an excerpt of the code. Model.ts ... @Field(() => Int) @Column({name: "Total issued"}) Total_issued Resolver.ts ... @Arg("Total issued", (type) => Int, {nullable: true}) Total_issued: number,
Nice!, been waiting for this one. would be great to see how to deploy it with serverless or even better Google's new Cloud Run. or show both ^^. thanks for your awesome educative videos!
But with this method, we need to write the same Schema in both Mongoose and typeDef. And as the schema gets bigger, it becomes more complex to manage. I was looking for ORM technique like Prisma, but they aren't supporting for MongoDB. Can you suggest a way out Ben?
Ey @Ben Awad, 1. What shell is that? 2. What keybinds are you using for VS Code? Vim, Emacs or nano? 'Cause you're going fast as hell with those keys, I dig it!
Hi , is there any restrictions in backend. I feel that JavaScript side hack the api end point and possible to pull data from backend. Is there any good practice
hi ben, I have a question that why we have to put the underscore "_" before { name } in function createCat? I've also tried to get rid of "_" and get error but I still don't know why. anw, tks.
Gday mate it'd be great if you were able to show how to create a mongodb datasource using dataloader. It confused the hell outta me out the mongoose models are able to work with no visible connection to the underlying mongo connection, added with the connection being defined in the root index I can't help but feel there's room for a more efficient separation of concerns, especially if using other third party sources together with mongodb. Hence the datasource request. Cheers regardless mate. Still a good vid.
Anyone getting this error in Apollo Server Express v3: Error: You must `await server.start()` before calling `server.applyMiddleware()` Just wrap everything in an async function, and before calling server.applyMiddleware({app}), call: await server.start(). (Don't forget to call the async function at the end> It happens to me all the time, because top-level await isn't available in the context I'm working so I have to wrap everything in an async function and I forget to call the function...)
He's talking about "id" not "_id". "id" is a getter that also gets defined with the value of "_id". "_id" is more like a private field. What I'm now curious is, in mongoose, I had to define a virtual to create the getter for "id" and return doc._id, but if Apollo could read the id field without defining any getter, than I probably overlooked the id field in the object returned in a query and assumed it to be absent...
omg, 4 hours of an udemy course in 18 mins, you're the man!
It's been a while since I've seen a no-bs video with just pure content. Keep it going man, I can't believe the amount of info I got from just watching this video for 18 minutes
nodemon = node mon (monitor) not no demon
@Derek This. Please, for the love of god...
pokemon = poke mon (monitor)
dude i think the creator of nodemon said you could pronounce it any way you like lmao
Honestly, no-demon sounds cooler
Epic!
Dude, you just summarized pretty much every single tutorial and paid class out there in the nicest, simplest way possible. Thanks!
Been struggling with doing that for weeks and you do it in 16 minutes! Awesome! Thank you for the video :)
i lost it all when he said 'no demon'
i think most people agree that your content is really great! I really like the clean approach of how you explain things based on level of priority during the build process. It really helps to keep things clear cut and to the point. MAKE MORE!!
couldn't be more thankful to RUclips algorithm for getting me on your channel, You are awesome Ben 👍
I'm calling it "no demon" from here on out
Thanks so much, your video is easy to understand than most of the premium videos out there. This helps me know exactly how real data can respond from MongoDB with out static resolvers shit out there. Thanks again and keep your great work.
learned more in 5 mins of this video than months of a web dev class
This answers a very simple question I couldn't seem to get a simple answer to, until now. Thanks
Thanks man!
You saved my day and from a lot of wastage of time.
You deserves a medal
Great walkthrough of Apollo with Node. Thanks Ben!!
Thanks Ben, been looking for a good explanation of that for a while. You nailed it pretty good! How to deploy to different platforms would be great as well! No one seems to be spending any time talking about that and it is so important and at times so confusing.
any particular platform your wanting to deploy to?
Very clear and simple, straight to the point. Thumbs up! (It's not No-Demon, it's short for Node-monitor ;) )
Thank you so much man. I work with GQL client side but you put the puzzle pieces together for me to use it server side
Awesome video! concise, I understood what was happening and could extrapolate from this video to do more. Really, really good!
Absolutely awesome video, but was I the only one who found it really funny that ben calls it "no-demon" instead of "node-mon" XD XD
Can't believe I subscribe to you on both RUclips and Tiktok
which one do you prefer prisma or mongoose to implement graphql with mongodb?
btw good video
I know you didn't ask for my opinion, but I personally prefer mongoose for mongo db and my prisma for my sql. Couldn't wrap my head around sequelize :(
I've only down very small things with mongoose, so I can't compare it well with prisma
Good stuff! Thanks for the time-saver Ben!
Thanks buddy. You made it very clear and simple
I'm trying to query Mongo using TypeGraphQL but the problem is the presence of space in a database field ("Total issued"). Before remapping the inter DB by removing the space or adding an underscore I was wondering if it is possible to use a different route. Any suggestion is welcomed. Thanks ... This is an excerpt of the code.
Model.ts
...
@Field(() => Int)
@Column({name: "Total issued"})
Total_issued
Resolver.ts
...
@Arg("Total issued", (type) => Int, {nullable: true}) Total_issued: number,
Nice!, been waiting for this one. would be great to see how to deploy it with serverless or even better Google's new Cloud Run. or show both ^^. thanks for your awesome educative videos!
👌
Thanks Ben you really made my day with this!
Can u make video on jwt auth with graphql-yoga( subscription ) typescript
I forgot about authentication for subscriptions, I will be making a video on that
@@bawad thanx ben
Thank you Ben! this is really helpful and concise.
how do u get intellisense in ur terminal ?
Thanks really i was lost until i found you
Excellent tutorial, simple and straight forward
how did u customize your graQL page in your browser, please tell me
what do you mean?
that comes inbuilt with apollo
But with this method, we need to write the same Schema in both Mongoose and typeDef. And as the schema gets bigger, it becomes more complex to manage. I was looking for ORM technique like Prisma, but they aren't supporting for MongoDB. Can you suggest a way out Ben?
Ey @Ben Awad, 1. What shell is that? 2. What keybinds are you using for VS Code? Vim, Emacs or nano? 'Cause you're going fast as hell with those keys, I dig it!
1. fish shell
2. vim
I made an API without gql but really want to switch.. how hard can it be to turn rest API to gql?
Hi ben! Could you tell us which extensions are you using please?
Is your first video I'm watching. Thx for doing this content, is really good!
www.benawad.com/plugins
Very well structured. :D Thanks for the insights.
Hi , is there any restrictions in backend. I feel that JavaScript side hack the api end point and possible to pull data from backend. Is there any good practice
All roads lead to Ben.
Great video! Can you do one of graphql subscriptions hiking into mongo changeStreams! :)
Wow. Really great video and perfectly explained. Thank you!
do we need to have mongodb installed locally to connect to mongoose?
hi ben any chance you do vue + hasura tutorial? btw - what your toughts about ionic 4 ? thanks :)
Probably no Vue coming soon, but maybe some Hasura
I don't really know anything about Ionic 4 so I can't comment on it
how do you get vscode to format the data within the gql string?
Thanks Ben! Would be better if Ben could add some key cast helper to show what you actually type behind the scene! :P
I've thought about that, but I didn't want it to be too distracting to the video.
You might like this video: ruclips.net/video/t9kSTiqhUfg/видео.html
hi ben, I have a question that why we have to put the underscore "_" before { name } in function createCat? I've also tried to get rid of "_" and get error but I still don't know why. anw, tks.
That's just the name of a variable
The convention is to use _ if your not going to use the variable
Very concise tutorial - thanks
What does “easier to grok”(spelling?) mean?
Why do you use Babel on backend? Isn`t it for old browser copatibility compiler?
Yes and compatibility with nodejs
Incredibly helpful, thanks!
Hey is there anyway you could show me how to do a query find by id? I cant seem to figure it out
stackoverflow.com/questions/8233014/how-do-i-search-for-an-object-by-its-objectid-in-the-mongo-console
Hey Ben great tutorial. Could you extend this tutorial to include update, upsert and delete?
Do you know how to do those commands in mongo?
Cat.default is not a constructor what i should do?
I have the same error. Did you find any solution?
Found the anwser. I resolvers.js, changed import Cat from './models/Cat' to import { Cat } from './models/Cat'
Another option instead MongoDB... I can't install this in my laptop =/
postgres
suggestion: add prettier and lint at project :D
Gday mate it'd be great if you were able to show how to create a mongodb datasource using dataloader. It confused the hell outta me out the mongoose models are able to work with no visible connection to the underlying mongo connection, added with the connection being defined in the root index I can't help but feel there's room for a more efficient separation of concerns, especially if using other third party sources together with mongodb. Hence the datasource request. Cheers regardless mate. Still a good vid.
I'll add this to my todolist
Shit that’s some VIM skills going on
no TS? :'(
🔜
Hello Ben can you do a series with nest.js + graphql .you will love it :)
maybe
Clear explanation 👍
Anyone getting this error in Apollo Server Express v3: Error: You must `await server.start()` before calling `server.applyMiddleware()`
Just wrap everything in an async function,
and before calling server.applyMiddleware({app}), call:
await server.start().
(Don't forget to call the async function at the end> It happens to me all the time, because top-level await isn't available in the context I'm working so I have to wrap everything in an async function and I forget to call the function...)
property _id is added automatically by Mongoose in new document created
He's talking about "id" not "_id". "id" is a getter that also gets defined with the value of "_id". "_id" is more like a private field.
What I'm now curious is, in mongoose, I had to define a virtual to create the getter for "id" and return doc._id, but if Apollo could read the id field without defining any getter, than I probably overlooked the id field in the object returned in a query and assumed it to be absent...
I wa confused what the hell was that no demon thing I eve forgot that I have using on several projects just because of how he pronounced it hhh
Very helpful, thanks.
great demo
Good good good stuff!!!
Can you give a "how to manage multiple schema.graphql ?" I think with graphql alternative schema file. The more correct js file!
ruclips.net/video/u-pdltyzfIU/видео.html
helpful for the basics. Not clear when it comes to resolvers that take ANY arguments.
Отличное видео, спасибо
awesome, thank you!
Very helpfull!
thanks a lot for this
No demon is the new meta
For you noobs saying it isn't "no demon", get your facts straight. Ben is correct, the nodemon logo is a demon.
Hey Ben, Would you please do graphql mongodb authentication with next js frontend. NO TYPESCRIPT PLZ!
how do we deploy this , lets stay at production level
maybe, postgres and jwt ^^
Say it with me "day-mon"
great!
8:12
cool & thanks
thank you for this vdo
babel is bad for the node package...
why
@@bawad A lot of practical usage is very different, even lead to errors, in the process of practical application
Do you have any examples?
@@bawad In this case. I tried the situation is 'class MoviesAPI extends RESTDataSource {'
RESTDataSource said need 'new'.I don't know why I use the Babel will need like this
for real ,you can deploy mongodb at mlab, it is free 500mb
mlab was recently consumed by Mongodb Corp
Like for Node-mon
nodemon - node-monitor
1 view, I am the first :)
No Demon.
Node - Mon Please!, Like poke - Mon
like Node Monitor. ¬¬
No 👿!
super helpful! Thanks!