Closed ghost closed 7 years ago
U can use the REPL of graphql-dataloader-boilerplate to add some users to your server (https://github.com/entria/graphql-dataloader-boilerplate#repl-server)
something like this:
yarn repl
awesome > new M.User({name: 'someuser', email: 'someuser@gmail.com', password: 'somepassword'}).save()
@Lenin7 did this solved your problem?
Relay refuses to get data from the GraphQL server for some reason. I get no errors or warnings, and it's basically stuck in the "loading" icon.
I'v only tested this on Windows/Android so far. Not sure if it's related. I'll test this on Mac/iOS in a few hours and let you know
u need to use adb reverse on android
try to use ip of your machine instead of localhost
It's working now. I had a typo in my mongodb documents. Thanks!
What documents should we add to the database to make this work with https://github.com/entria/graphql-dataloader-boilerplate ?
I have this document in my user collection, but UserList always shows up as empty.
Any ideas? Thanks