auth-graphql-starter
auth-graphql-starter copied to clipboard
Starter project from a GraphQL course on Udemy.com - Section 3!
This will fix the mongoose connection with Atlas
`npm install `and then `npm run dev `after that i got this error: `RootQueryType fields must be an object with field names as keys or a function which returns such...
Fixes the following deprecation warning: ``` (node:3351) DeprecationWarning: `open()` is deprecated in mongoose >= 4.11.0, use `openUri()` instead, or set the `useMongoClient` option if using `connect()` or `createConnection()`. See http://mongoosejs.com/docs/connections.html#use-mongo-client...
- added nodemon to package.json - change port to 4001, because port 4000 already used on lyrical apps
npm version 5.3.0 (also tried with 3.8.0) using nodemon: "*" added to package.json since not in project. ``` ~/work/auth-graphql-starter (master)*> npm run dev > [email protected] dev /Users/kkras2/work/NikeDev/mywork/auth-graphql-starter > nodemon index.js...
If you install from npm install. You will probably get maximum call stack size exeeded I dont know the reasons but I found solution here https://github.com/npm/npm/issues/20402 hope it helps ~
Not sure if you were expecting nodemon to have been installed globally, but as it isn't installed via the base package.json configuration the >npm run dev macro fails out of...
When running the command `yarn install` the file yarn.lock is updated, adding react-router and its dependencies. The lock file should contain all the dependencies of the project and this PR...
In the starter package, I found the below code: ``` function login({ email, password, req }) { return new Promise((resolve, reject) => { passport.authenticate('local', (err, user) => { if (!user)...