22 Agu, 2026
21 mins read

User Authentication with Google & GitHub in Next.js Using Prisma and NextAuth – Beragampengetahuan

Add to your RSS feed30 October 202417 min read Implementing user authentication is a foundational part of building secure and dynamic web applications. In this article, we’ll walk through how to set up authentication in a Next.js application, using NextAuth for seamless integration with Google and GitHub OAuth providers, and Prisma to manage our user […]

7 mins read

Select API with NestJS #141. Getting distinct records with Prisma and PostgreSQL – Beragampengetahuan

January 15, 2024 PostgreSQL allows us to filter a query’s results and ensure we don’t get duplicate rows. This can be helpful when your table has many rows where the data in the columns is the same. In this article, we explore two ways PostgreSQL helps us solve this problem. We also learn how to […]

8 mins read

API with NestJS #140. Using multiple PostgreSQL schemas with Prisma – Beragampengetahuan

January 8, 2024 In PostgreSQL, schemas act as namespaces within the database and are containers for objects such as tables and indexes. In this article, we explain how they work and what are their benefits. We also provide examples of how to use them with Prisma. The public schema PostgreSQL creates a schema called public […]