Build a Modern Nestjs Server with GraphQL and Postgresql (MikroORM)

preview_player
Показать описание
Learn how to setup a modern Nestjs Server with GraphQL and PostgreSQL using MikroORM.

Get in touch with me!

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

very helpful, thank you. Can we use a spesific schema? when I set schema: 'globe', migrate:create --initial puts mikro_orm_migrations still in public schema.

muratasarslan
Автор

Hey, @Query() don't work for me when i try findAll method.

florianpicard
Автор

Is there any way to auto run migrations on startup?

julianglatzkopf
Автор

@Query() not working on my project :( query root type must be provided,

wilbertbocanegra
Автор

Great tutorial. I believe recent changes in Mikro-orm has changed the config and I am getting "SyntaxError: Cannot use import statement outside a module" when trying to UP the migration. tried various fixes but have yet to find a solution.

GaryMalcolm
Автор

You can use entity file itself for graphql ObjectType

leetkhan
Автор

Hey FrostZ, thanks for the video. Q: in your service, the createStudent() operation returns a Student entity obj back to the resolver, and the createStudent() mutation operation in the resolver is marked to return a "StudentType" [graphql] object. How/where does the conversation/mapping happens between the "Student" obj and the "StudentType" obj? Is there any hidden magic done automatically by nestjs/graphql, some kind of convention over configuration/coding, if the field names match? If so, what if they don't..you would have to code a mapper yourself either in the service or resolver..any best practice there? thanks

francoisd
Автор

Hey @FrostZ, thanks for video. Quite nice and detailed.
Meanwhile, can you please share your terminal and vscode themes?

nuriengin
Автор

npm install mikro-orm doesnt work.... i dont know why

victordp
Автор

what's with all the tangents? maybe rehearse before hitting record. It's hard to follow

TheMegaMrMe