
NestJs Course for Beginners - Create a REST API
video description
Date: 2022-03-14
Related videos
Comments and reviews: 10
Nijo
npx prisma migrate deploy is not always doing npx prisma generate especially after removing container in docker (rm) and bringing up the container. So better do
-prisma:dev:deploy-: -npx prisma generate && npx prisma migrate deploy-
and
-prisma:test:deploy-: -dotenv -e .env.test -- npx prisma generate && dotenv -e .env.test -- npx prisma migrate deploy-
in json scripts.
Also during test direct paths like
import - GetUser - from 'src/auth/decorator';
is not working in windows environment so try
import - GetUser - from '../auth/decorator';
relational imports.
Just advice for beginners from a beginner. Enjoy coding.
reply
npx prisma migrate deploy is not always doing npx prisma generate especially after removing container in docker (rm) and bringing up the container. So better do
-prisma:dev:deploy-: -npx prisma generate && npx prisma migrate deploy-
and
-prisma:test:deploy-: -dotenv -e .env.test -- npx prisma generate && dotenv -e .env.test -- npx prisma migrate deploy-
in json scripts.
Also during test direct paths like
import - GetUser - from 'src/auth/decorator';
is not working in windows environment so try
import - GetUser - from '../auth/decorator';
relational imports.
Just advice for beginners from a beginner. Enjoy coding.
reply
Yuvraj
Thank you Vlad! -
What extensions should I download to code in this?
Does this file automatically created when we open VS Code or we have to make them?
I'm really looking for these answers, please tell me and I'm a beginner JS Programmer. I hope that I could learn all fundamentals of NestJS.
Thank you freeCodeCamp team -
reply
Thank you Vlad! -
What extensions should I download to code in this?
Does this file automatically created when we open VS Code or we have to make them?
I'm really looking for these answers, please tell me and I'm a beginner JS Programmer. I hope that I could learn all fundamentals of NestJS.
Thank you freeCodeCamp team -
reply
Mathias
This was absolutely a awesome course, Thank you so much! Nest is a little weird with those decorators. Your icon pack in visual studio is different then mine they actually show the nest logo... I use night owl by Sarah Drasner for a theme and the icons vscode-icons. I highly recommend!
reply
This was absolutely a awesome course, Thank you so much! Nest is a little weird with those decorators. Your icon pack in visual studio is different then mine they actually show the nest logo... I use night owl by Sarah Drasner for a theme and the icons vscode-icons. I highly recommend!
reply
Abdulrahman
Hi I am using Nestjs with graphQL and Prisma but I have a problem I want to filter findAll data but I don't find it best practice to do that, You know is Prisma generates -Entity-FindManyArgs types, I think I don't need to make again the wheel
Anyone is can help me please -
reply
Hi I am using Nestjs with graphQL and Prisma but I have a problem I want to filter findAll data but I don't find it best practice to do that, You know is Prisma generates -Entity-FindManyArgs types, I think I don't need to make again the wheel
Anyone is can help me please -
reply
Mike
Great tutorial! Needed to write a new API for a side biz and was itching for something new. NestJs is very slick, glad I gave it a try. This is the first time I've felt that same productivity boost of Rails from the early days.
reply
Great tutorial! Needed to write a new API for a side biz and was itching for something new. NestJs is very slick, glad I gave it a try. This is the first time I've felt that same productivity boost of Rails from the early days.
reply
Corentin
I rarely post comments, but when I get content like this, I need to!
Thanks a lot for the good work, the explanations are clear and complete. Thanks a lot, it will definitely improve my nest js skill !
reply
I rarely post comments, but when I get content like this, I need to!
Thanks a lot for the good work, the explanations are clear and complete. Thanks a lot, it will definitely improve my nest js skill !
reply
mixxxer
When i run db:dev:restart it empties my DB. I think i understand why, but how do i avoid that for production environments? How does one go about preserving data but still being able to run migrations?
reply
When i run db:dev:restart it empties my DB. I think i understand why, but how do i avoid that for production environments? How does one go about preserving data but still being able to run migrations?
reply
GO_Sh
Thank you so much ... it's a lot but I am getting there ...
33:05 is there any specific reason why my schema.prisma file content (text) is all in grey and not colored?
reply
Thank you so much ... it's a lot but I am getting there ...
33:05 is there any specific reason why my schema.prisma file content (text) is all in grey and not colored?
reply
Kushagra
1:03:53
if you're unable to access this.prisma.user which is generated from -npx prisma generate-
you have not extended the PrismaClient in the PrismaService
reply
1:03:53
if you're unable to access this.prisma.user which is generated from -npx prisma generate-
you have not extended the PrismaClient in the PrismaService
reply
Marcin
This is totally amazing. All the other tutorials touches only on some very basic stuff, and this is full proof stuff with test and all that! Really amazing job!
reply
This is totally amazing. All the other tutorials touches only on some very basic stuff, and this is full proof stuff with test and all that! Really amazing job!
reply
Add a review, comment
Other channel videos















