Nestjs Role Based Auth Starter

screenshot of Nestjs Role Based Auth Starter
nestjs

NestJS role based firebase authentication starter! PostgreSQL with TypeORM, Swagger, mails etc...

Overview

NestJS Firebase Role Based Auth Starter is an excellent solution for developers looking to implement role-based authentication in their applications. This starter pack leverages the power of Firebase for authentication, while also utilizing PostgreSQL for versatile data storage. The combination allows for robust security with easy configuration, making it ideal for projects of varying complexity.

In addition to the primary features that support role-based access control, the starter also integrates with Swagger for API documentation, SMTP for sending emails, and FCM for notifications. This comprehensive toolset ensures developers can create secure and well-documented applications efficiently.

Features

  • Role Based Authentication: Utilizes Firebase for secure role-based authentication, allowing seamless management of user roles and permissions.
  • PostgreSQL with TypeORM: Provides a robust database solution with TypeORM, enabling efficient database interactions and management.
  • API Documentation with Swagger: Automatically generates API documentation, simplifying the development and testing processes.
  • Email Notifications via SMTP: Integrates SMTP functionality to facilitate sending emails directly within the application, enhancing communication.
  • FCM Notifications: Leverages Firebase Cloud Messaging for push notifications, keeping users informed in real-time.
  • Database Version Check: Automatically checks and manages database versions, ensuring synchronization and consistency across entities.
  • Route Access Control: Implements decorators for granular control over route access, allowing precise management of user permissions at both class and route levels.
  • Ease of Installation: Features a simple installation process with clear setup instructions, making it straightforward for developers to get started quickly.
nestjs
Nest

A progressive Node.js framework for building efficient, scalable, and enterprise-grade server-side applications with TypeScript/JavaScript.

eslint
Eslint

ESLint is a linter for JavaScript that analyzes code to detect and report on potential problems and errors, as well as enforce consistent code style and best practices, helping developers to write cleaner, more maintainable code.

Pug

Pug is a high-performance template engine for Node.js and browsers that enables developers to write HTML templates using a concise and intuitive syntax. It supports a range of features, including template inheritance, conditionals, loops, mixins, and more, and can be easily integrated into a variety of web frameworks and build tools.

typescript
Typescript

TypeScript is a superset of JavaScript, providing optional static typing, classes, interfaces, and other features that help developers write more maintainable and scalable code. TypeScript's static typing system can catch errors at compile-time, making it easier to build and maintain large applications.