Build a Node.js GraphQL Server - Part 2

preview_player
Показать описание
In this video we will add our Mongoose Event model and hook it up to our GraphQL Query.

Don't forget to run export MONGODB_URI=mongodb://localhost/eventsite before starting the Node process.

Рекомендации по теме
Комментарии
Автор

At 1:19 you'll need to run `export so the MONGO_URI is available within the Node process.

notrab
Автор

Hi Jamie, thank you for GraphQL videos, they are awesome!.
What is the purpose of "projection" ? I did findById and called resolve without doing the "projection" and it works fine.

Автор

please, i want to know theme in this video, thanks

Dtanphat
Автор

Hi Jamie, do you know how to get the uri if you're using mLab instead of a local MongoDB?

ScottSpence