Best of NestJSOctober 2022

  1. 1
    Article
    Avatar of logrocketLogRocket·4y

    Creating social logins in NestJS

    The NestJS application can easily be applied to other social platforms, such as Facebook, Google, etc. We’ll then learn how to protect private routes using guards and various authentication and authorization mechanisms provided in NestJS. The first one is authenticating a user through GitHub. Go ahead and install the Passport library and the library for the PASSport GitHub strategy.

  2. 2
    Article
    Avatar of communityCommunity Picks·4y

    Building a NestJS REST API using Prisma ORM

    Prisma is a next-generation Object Relational Mapper (ORM) It takes a somewhat different approach to traditional ORMs. Instead of classes, Prisma uses a special Schema Definition Language. Prisma runs over the schemas and writes the appropriate migrations depending on the chosen database. For our demo NestJS Prisma application, we will be using SQLite as our database.