Member-only story
Authentication & Authorisation made easy with NestJS — part 4 of how to build a GraphQL + MongoDB series
Now that we are over with our basic CRUD, unit and e2e testing, let’s make our API more secure with passport.js!
Hey hey, welcome back!
If it’s your first time here, we are creating some articles for developing server-side applications with NestJS, targeting an API built with GraphQL and MongoDB in an easy way!
note: It is expected a basic knowledge of Javascript/Typescript to follow up this article, as well of some understanding of GraphQL and MongoDB that was already provided in my previous article that you can read here.
In our first article we scaffolded the GraphQL with Mongoose which have a minimum Users CRUD (create, read, update and delete operations for our User Entity) that can be found here:
We follow up by creating unit tests that can be found here: