SignOnSphere

SignOnSphere is a NestJS-based application that provides user registration, authentication services, and notification services. It follows the CQRS (Command Query Responsibility Segregation) and Event Sourcing design patterns to ensure scalability and maintainability.

Features

  • User Registration Service: Register new users with roles.
  • Authentication Service: Authenticate users with JWT tokens.
  • Notification Service: Send notifications using Postmark.
  • CQRS + Event Sourcing: Ensure scalability and maintainability.

Technologies Used

  • NestJS: A progressive Node.js framework for building efficient, reliable, and scalable server-side applications.
  • PostgreSQL: A powerful, open-source object-relational database system.
  • Kafka: A distributed streaming platform used for building real-time data pipelines and streaming applications.
  • DrizzleORM: TypeScript ORM for Node.js.
  • Postmark: Email delivery service.

Installation

Prerequisites

  • Node.js (v18 or higher)
  • npm (v9 or higher) or Yarn (v1.22 or higher)
  • PostgreSQL
  • Kafka
  • EventStoreDB

Steps

  1. Clone the Repository

    git clone https://github.com/yourusername/SignOnSphere.git
    cd SignOnSphere