17 NestJS JWT Token for API authentication, Passport - API security

preview_player
Показать описание
#nodejs #nestjs #javascript

In this video, we are going to look at how we can set up our Nest JS application to start using Migrations.

So far our database was running on Sync. However, TypeORM allows you to create migration files based on the Entities inside your application.

We will see how we need to configure the app to have a different configuration of Nest JS with Type ORM for the app to run normally. And, we will also create a new configuration that will be used by TypeORM to run the CLI-based commands like creating new migrations and running migrations etc.

You can find me on:
Рекомендации по теме
Комментарии
Автор

I took too much time to understand the migration concept but finally i have done ... thank you sir ji

mrinmoy
Автор

this is an excellent video. you do a great job explaining topics that seem overwhelming to a newbie. keep it up, my friend!

AliAliOxenFree
Автор

Thanks for the video, I suggest you increase the size of the letters, it is a little difficult to read in the video

GabrielLogan
Автор

This looks complicated. I love how you've helped me debug a problem I had with nestjs modules. I really appreciate your efforts for putting this together, it was really elaborate. Just got confused as more files were added. At least now you've given me a blueprint on how to go about it. Could you do one based on Role guards that reads the request user

forinda
Автор

Very confusion is happen because you change the DB from Postgresql to MySQL and not clear and problem's create

AmanMaheshwari-gx
Автор

i follow your step but it keep getting "Unknown authentication strategy "local"" how can i fix this.

TuanDatHoang-sl
Автор

well.. there is one thing that I want to understand we re passing email and password fields for login but in request body why are we entering username: "email" ?

curious__chronicles
Автор

Sir Why are you using older version of Typeorm that is 0.2.45 ?
currently the latest version is 0.3.6 is there any particular reason for using older version ?

sudhagarmurugesan
Автор

thank you! how does local_auth_guard know about the local_auth_strategy ? there is no reference in authguard to authstrategy ? (and authguard is being used in the controller).

nikhilgoyal
Автор

if you ever get the chance, can you make a video for redis caching for jwt tokens? there's not many comprehensive videos for that

AliAliOxenFree
Автор

When I use @UseGuards(LocalAuthGuard), I am getting the Unauthorized(401). Why is it ?

IyngaranIyathurai
Автор

I am constantly getting user unauthorised error even though I followed you step by step

akaraze
Автор

Can you add logout tutorial and migrate these into prisma orm ?

sagar
Автор

it should be a crime to use a light theme. Shame on you.

codeguy
welcome to shbcf.ru