Modern backend with TypeScript, PostgreSQL and Prisma - Part 3: Authentication & Authorization

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

The series will focus on the role of the database in every aspect of backend development including data modeling, the API layer, validation, authentication, authorization, and deployment.

In this third stream, we will add passwordless authentication and authorization to the REST API.

We hope you find this useful. We'd also love to hear from you If you have ideas or suggestions.

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

Never thought I'll ever use the magnifying glass accessibility feature until I've watched this series. Good content though.

Teapot_
Автор

Is there any reason to keep now invalid tokens in the db? I think we can delete the token record for the sake of db size.

shkrmkr
Автор

4 months later and watching this, the prisma functions are a bit different.
As connectOrCreate exists no more, what would be the best way to proceed?

I validated the email first, to make sure it already exists in my database, and depending on that, I connect or create a new user.
Is there a better way to do this, or did I use the right approach?

Thanks for these videos, they're helping a lot.

_thiagocanto
Автор

Please make your monitor text bigger watching this on 15inch is really bad

ThomazMartinez