Series: API with NestJS

JavaScript NestJS TypeScript

API with NestJS #31. Two-factor authentication

This entry is part 31 of 33 in the API with NestJS

While developing our application, security should be one of our main concerns. One of the ways we can improve it is by implementing a two-factor authentication mechanism. This article goes through its principles and puts them into practice with NestJS and Google Authenticator. Adding two-factor authentication The core idea behind two-factor authentication is to confirm […]

JavaScript NestJS TypeScript

API with NestJS #33. Managing PostgreSQL relationships with Prisma

This entry is part 33 of 33 in the API with NestJS

As applications grow, the number of different entities also increases. A crucial part of learning how to design a database is creating relationships between them. This is because our entities will often relate to each other in some way. Relational databases such as PostgreSQL are an industry standard for quite some time now. Although there […]