This is my core nestjs server application to be extended in other projects. It contains basic user authentication and authorization with abstract user and credential entities are used for magic link, sms,
Is the entry point for authentication, authorization and pii.
Stores the type and value of a user's credential.
Stores the user's personal information.
Tracks login attempts to prevent brute force attacks.
Used for email verification, password reset, magic link and sms verification.
Stores the user's session information.
Roles that can be assigned to users.
Permissions that can be assigned to roles.
Many to many relationship between roles and permissions.
Many to many relationship between users and roles.