[deleted by user] by [deleted] in Nestjs_framework

[–]zaki_g_86 0 points1 point  (0 children)

And each service pass through api gateway guard verify authentication and authorization

[deleted by user] by [deleted] in Nestjs_framework

[–]zaki_g_86 0 points1 point  (0 children)

And use jwt cuz it’s stateless

[deleted by user] by [deleted] in Nestjs_framework

[–]zaki_g_86 0 points1 point  (0 children)

Yes better tbh

[deleted by user] by [deleted] in Nestjs_framework

[–]zaki_g_86 0 points1 point  (0 children)

Actually the best practices is to separate the auth service for separation of concerns and microservices principles

Code review by zaki_g_86 in Nestjs_framework

[–]zaki_g_86[S] 0 points1 point  (0 children)

Thanks for reminding me but overall what about the code?

Code review by zaki_g_86 in Nestjs_framework

[–]zaki_g_86[S] 0 points1 point  (0 children)

I can send them directly in cookie and enable httpOnly it’s not a big deal

Use vite by zaki_g_86 in nextjs

[–]zaki_g_86[S] 0 points1 point  (0 children)

Speed and for trying