Building a CRUD REST API with Nest js, Prisma, and JWT token

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


To enhance security, we'll integrate JWT token authentication. We'll create a JWT strategy and implement login and registration functionality using the provided JWT library. This will allow users to authenticate and access protected routes using tokens.

Throughout the video, we'll follow best practices for structuring the code, handling errors, and validating user input. We'll also demonstrate how to handle various HTTP status codes and provide meaningful error messages in the API responses.

#nestjs #jwt
Рекомендации по теме
Комментарии
Автор

Man, thank you very much. This video helped me a lot.

aaronalves
Автор

Greate Video! Awesome! Thank you very much!

dogdev
Автор

can you please implement refresh token.

michaelsimire
Автор

When I add the token it returns {
"statusCode": 500,
"message": "Internal server error"
}
does anyonne knows what is the problem please help asap

mahmoudkhodor