A clean and simple Nest project shipped with Passport(Local, JWT, Google) and RBAC Auth and MongoDB.
Note: You must register an application with Google to use the Google Auth Strategy. If you have not already done so, a new project can be created in the Google Developers Console. Your application will be issued a client ID and client secret, which need to be provided to the strategy. You will also need to configure a redirect URI which matches the route in your application. The default redirect URI for this project is /google/callback
Create a .env file with these required properties.
JWT_SECRET=Secure Secret To Generate Auth Tokens