Nest.js | Prisma/MongoDB boilerplate

GitHub - nodeteamdev/nestjs-prisma-mongodb: Starter for Nest.js, Prisma ODM, MongoDB
Starter for Nest.js, Prisma ODM, MongoDB. Contribute to nodeteamdev/nestjs-prisma-mongodb development by creating an account on GitHub.

Introduction

Welcome to the foundational structure of a Nest.js 10 application, thoughtfully designed to seamlessly incorporate a MongoDB replica set and the versatile Prisma ORM.

Key Features

Our Nest.js 10 application boasts a rich set of features, meticulously crafted to enhance your development experience:

  1. JWT Authentication: Implement secure JSON Web Token (JWT) authentication for robust user authentication and authorization.
  2. CASL Integration: Seamlessly integrate CASL, empowering you with fine-grained access control and permissions management.
  3. Simple Query Builder: Simplify your data querying process with an intuitive and efficient query builder.
  4. Data Pagination: Easily manage large datasets with built-in data pagination capabilities.
  5. Data Sorting: Streamline data presentation with the ability to sort data according to your requirements.
  6. Data Filtering: Efficiently filter data based on specific criteria to retrieve the information you need.
  7. Exception Filters: Handle exceptions gracefully with customizable exception filters.
  8. Validation Pipes: Ensure data integrity and validity using validation pipes tailored to your application's needs.
  9. Swagger Documentation: Automatically generate comprehensive Swagger documentation to streamline API understanding and usage.
  10. Docker Compose: Leverage Docker Compose for seamless containerization and deployment of your application.
  11. MongoDB Replica Set: Achieve high availability and data redundancy with a MongoDB replica set configuration.
  12. Serializers: Simplify data serialization and deserialization to and from various formats.
  13. Health Check: Monitor and ensure the health of your application with built-in health check functionality.

Implemented Providers

To cater to diverse requirements, our application integrates the following providers:

  1. Prisma: Utilize Prisma as your data access layer for efficient and type-safe database interactions.
  2. AWS S3: Seamlessly integrate with AWS S3 for scalable and secure object storage solutions.
  3. AWS SQS: Leverage AWS Simple Queue Service (SQS) for reliable and efficient message queuing capabilities.

System Requirements

To embark on your journey with our Nest.js 10 application, ensure that your system meets the following requirements:

  • Nest.js 10: The core framework version to power your application.
  • Docker Compose: Required for containerized development and deployment.
  • MongoDB: The database of choice for your application's data storage.
  • Node.js: The JavaScript runtime environment for executing your code.
  • NPM: The package manager for installing and managing dependencies.

With these prerequisites met, you're ready to explore the vast possibilities of our Nest.js 10 application with MongoDB replica set and Prisma ORM at your disposal.

Happy coding!