les comparto mi repositorio para que se hechen una mano y me escriban si necesitan ayuda https://github.com/JohnDeev/GraphQl-NodeJs
-
check_circle_outlineMódulo 1 | 8 clases
Introducción
expand_more -
check_circle_outlineMódulo 2 | 3 clases
Fundamentos de GraphQL
expand_more -
check_circle_outlineMódulo 3 | 12 clases
Mi primer servicio web con GraphQL
expand_more -
check_circle_outlineMódulo 4 | 6 clases
Apollo GraphQL
expand_more -
check_circle_outlineMódulo 5 | 10 clases
Base de datos
expand_more-
done_all
Clase 1
Configurando la base de datos
-
done_all
Clase 2
Modelo
-
done_all
Clase 3
Configurar GraphQL con express
-
done_all
Clase 4
Definición de tipos organizada por archivos
-
done_all
Clase 5
Resolvers modularizados
-
done_all
Clase 6
Crear registros
-
done_all
Clase 7
Consultar registros
-
done_all
Clase 8
Actualizar registros
-
done_all
Clase 9
Eliminar registros
-
done_all
Clase 10
Paginación
-
-
check_circle_outlineMódulo 6 | 4 clases
Relaciones
expand_more -
check_circle_outlineMódulo 7 | 6 clases
Autenticación
expand_more
4 comentario(s)
uriel tengo este error y no se que puede ser porque tengo el codigo igual me podrias ayudar
(node:656) UnhandledPromiseRejectionWarning: MongoParseError: Invalid connection string
at parseConnectionString (E:\Curso\GRAPHQL\bd\node_modules\mongodb\lib\core\uri_parser.js:547:21)
at connect (E:\Curso\GRAPHQL\bd\node_modules\mongodb\lib\operations\connect.js:272:3)
at cb (E:\Curso\GRAPHQL\bd\node_modules\mongodb\lib\mongo_client.js:215:5)
at maybePromise (E:\Curso\GRAPHQL\bd\node_modules\mongodb\lib\utils.js:719:3)
at MongoClient.connect (E:\Curso\GRAPHQL\bd\node_modules\mongodb\lib\mongo_client.js:211:10)
at Promise (E:\Curso\GRAPHQL\bd\node_modules\mongoose\lib\connection.js:709:12)
at new Promise (<anonymous>)
at NativeConnection.Connection.openUri (E:\Curso\GRAPHQL\bd\node_modules\mongoose\lib\connection.js:706:19)
at Mongoose.connect (E:\Curso\GRAPHQL\bd\node_modules\mongoose\lib\index.js:333:15)
at Object.<anonymous> (E:\Curso\GRAPHQL\bd\server.js:4:10)
at Module._compile (internal/modules/cjs/loader.js:776:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:787:10)
at Module.load (internal/modules/cjs/loader.js:653:32)
at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
at Function.Module._load (internal/modules/cjs/loader.js:585:3)
at Function.Module.runMain (internal/modules/cjs/loader.js:829:12)
(node:656) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting
a promise which was not handled with .catch(). (rejection id: 3)
(node:656) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
(node:656) UnhandledPromiseRejectionWarning: MongoParseError: Invalid connection string
at parseConnectionString (E:\Curso\GRAPHQL\bd\node_modules\mongodb\lib\core\uri_parser.js:547:21)
at connect (E:\Curso\GRAPHQL\bd\node_modules\mongodb\lib\operations\connect.js:272:3)
at cb (E:\Curso\GRAPHQL\bd\node_modules\mongodb\lib\mongo_client.js:215:5)
at maybePromise (E:\Curso\GRAPHQL\bd\node_modules\mongodb\lib\utils.js:719:3)
at MongoClient.connect (E:\Curso\GRAPHQL\bd\node_modules\mongodb\lib\mongo_client.js:211:10)
at Promise (E:\Curso\GRAPHQL\bd\node_modules\mongoose\lib\connection.js:709:12)
at new Promise (<anonymous>)
at NativeConnection.Connection.openUri (E:\Curso\GRAPHQL\bd\node_modules\mongoose\lib\connection.js:706:19)
at Mongoose.connect (E:\Curso\GRAPHQL\bd\node_modules\mongoose\lib\index.js:333:15)
at Object.<anonymous> (E:\Curso\GRAPHQL\bd\server.js:4:10)
at Module._compile (internal/modules/cjs/loader.js:776:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:787:10)
at Module.load (internal/modules/cjs/loader.js:653:32)
at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
at Function.Module._load (internal/modules/cjs/loader.js:585:3)
at Function.Module.runMain (internal/modules/cjs/loader.js:829:12)
(node:656) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting
a promise which was not handled with .catch(). (rejection id: 3)
(node:656) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
estuve viendo e integre la parte de { useNewUrlParser: true }
y me aparecio otra ves deprecationwarning y me sugeria que definiera el siguiente codigo { useUnifiedTopology: true }
y con los dos siempre me aparece la deprecation warning!
y me aparecio otra ves deprecationwarning y me sugeria que definiera el siguiente codigo { useUnifiedTopology: true }
y con los dos siempre me aparece la deprecation warning!
Clase 25