nest-user-auth
A build for a back end which implements managing users with MongoDB
...User auth is implemented in this project because it is one of the hardest and most common things to create for an API. The intent of this project is to provide an example of how to integrate all of these technologies together that are in the NestJS documentation (NestJS, GraphQL, MongoDB, Mongoose, Passport, JWT, DotEnv, Joi, Jest) into a working backend. If you recognize an anti-pattern or a better way to do something, please post an issue. It is challenging not to repeat the structure of the models in the GraphQL schema, Mongo schema, and Typescript interfaces. ...