Build a GraphQL Server with NestJS, TypeScript & TypeGraphQL

preview_player
Показать описание


0:00 Introduction
0:50 GraphQL playground demo
1:28 A look at the code
3:30 Bootstrap a new application
4:08 Generate the author & book components
5:25 Start building the book component
10:11 GraphQL setup
15:34 Start building the author component

In this video, we build the foundation for a GraphQL API with NestJS. We build the API with TypeGraphQL and of course, TypeScript. The API does not include a database, like MongoDB or Postgres, that will come in future parts.

Suggested reading:

📚 Concepts & technologies covered
- NestJS
- TypeScript
- GraphQL
- Apollo server
- TypeGraphQL

🌎 Follow me here:
Рекомендации по теме
Комментарии
Автор

I read the nest document and I got confused but now with this tutorial, every thing has been cleared, thanks a lot

golnaazmirzaee
Автор

Please let me know what data source you would like to me use in the next part, otherwise, I'll just make a video about hooking up a MongoDB database.

TomDoesTech
Автор

Hi Tom, I'm a student at a university from Viet Nam, I am recently passionate about the knowledges that you make on youtube and would like to gain Nestjs knowledge, can you make more videos about nestjs. Thank Tom.

namphantech
Автор

I was going to say for mongodb but i realized you've already uploaded it, that's great, one thing please increase the font size a bit and for terminal as well, and if it okay try to execute each command after clearing the output, i had to see the command but youtube playback controls kept coming and wouldn't let me see. Other than these it's perfect.

tomy
Автор

As a beginner, I learned a lot. Thank you very much. Just need to add, due to breaking change in nestjs/apollo, I had to add this code to app.module:

driver: ApolloDriver,
autoSchemaFile: 'schema.gql',
}

siavoshoon
Автор

very interesting but I can't see the benefit of using NestJs in these circumstances ? I'm using Typegraphql together with apollo express server, having build some factories to create the crud services whenever a new object is defined, thus without nest and its boilerplate. So wy adding nest in the middle ? What kind of functionalities nestjs is adding that are "important" and missing when using typegraphql by its own ?

yoyo-
Автор

Just what I was looking for.
Question: with Typegraphql would you prefer to use TypeOrm or Prisma 2, for an SQL db? (if neither, I would like suggestions) I spent some time learning TypeOrm (inheritance etc), and then found out it was no longer supported/deprecated.

beorntwit
Автор

Hey, what's that TypeScript tick mark extension in the status bar?

rahulsriram
Автор

Hi! Can y help me to up your nestjsnextjs starter project . This project dosnt have .env.example file on client. But env.example file inside server exist. Thanks for this professional project

demigodance
welcome to shbcf.ru