VehiclesFashionRecipesBlogsHuntTravelsSportFunHandmadeITEducation
Mini-Games
x

x
zakruti.com » IT - Software » freeCodeCamp.org
NestJs Course for Beginners - Create a REST API

NestJs Course for Beginners - Create a REST API

FBTwitterReddit

video description

Rating: 4.0; Vote: 1
Learn NestJs by building a CRUD REST API with end-to-end tests using modern web development techniques. NestJs is a rapidly growing node js framework that helps build scalable and maintainable backend applications. In this course, we build a bookmarks API from scratch using nestJs, docker, postgres, passport js, prisma, pactum and dotenv. - Code: https://github.com/vladwulf/nestjs-api-tutorial https://github.com/vladwulf/nestjs-api-tutorial -- Course from Vladimir Agaev. https://github.com/vladwulf/nestjs-api-tutorial -- Course from Vladimir Agaev. Check out his YouTube channel: https://www.youtube.com/channel/UCjmouj0JizYt0qTI53TAtFg -- Course Contents
Date: 2022-03-14

Comments and reviews: 10


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

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

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

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

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

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

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

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

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

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