Ultimate Backend
Back to starters

Ultimate Backend

Multi tenant SaaS starter kit with cqrs graphql microservice architecture, apollo federation, event source and authentication

Ultimate Backend is an enterprise-grade SaaS starter kit designed to serve as a scalable foundation for building multi-tenant applications. It leverages a microservice architecture, utilizing GraphQL for its API layer and gRPC for inter-service communication. The system is built on the principles of Domain-Driven Design (DDD) and employs the Command Query Responsibility Segregation (CQRS) pattern to separate read and write operations, enhancing performance and scalability.

The kit supports multi-tenancy out of the box, offering various strategies for database management and tenant identification. It includes a suite of features such as authentication (including OAuth2 with providers like Google, GitHub, and Facebook), event sourcing, role-based access control, and billing and payment integration with Stripe. The backend is designed to be extensible, allowing for the addition of services like email queuing and potentially push notifications in the future. It’s built using NestJS, Node.js, and TypeScript, and supports Docker for easy deployment and scaling. The project is a work in progress, with plans for further development and additional features like React SSR support, webhooks, and multi-language support.

Key Features:

  • CQRS and Event Sourcing: For efficient data handling and scalability.
  • Multi-Tenancy Support: With various database strategies and resolver patterns.
  • Authentication and Authorization: Stateful sessions, OAuth2, and role-based access control.
  • Microservice Architecture: With GraphQL API and gRPC services for modular, scalable development.
  • Billing and Payments: Integrated with Stripe for handling subscriptions and payments.
  • Extensible: Designed for further expansion with additional services and features.
Technology
Node.js
Rating
Not Reviewed