API-Reference Help

đŸ—ī¸ SaaS Factory

Solution for Deploying and Managing Any Type of SaaS application

The solution includes the app blueprint project that serves as a blueprint for deploying SaaS applications and a Deployment Manager to deploy and manage each SaaS application centrally for optimal efficiency.

https://learn.microsoft.com/en-us/nuget/consume-packages/central-package-management

https://learn.microsoft.com/en-us/nuget/concepts/security-best-practices

đŸ”ĸ Project status

Quality Gate Status Quality Gate Status

Bugs Bugs

Code Smells Code Smells

Coverage Coverage

Duplicated Lines Duplicated Lines (%)

📄 App Blueprint

Blueprint for Deploying Any Type of SaaS

Blueprint for deploying any type of B2B or B2C SaaS to accelerate development speed and time-to-market by reducing the need for boilerplate code and infrastructure setup.

🛜 Port Mappings (Production - Docker compose)

Project

Url

Web

https://localhost:8083, http://localhost:8082

Api

https://localhost:8081/api, http://localhost:8080/api

Gateway

https://localhost:8085/gw/health, http://localhost:8084/gw/health

Database Schema Diagram

Database schema diagram for Appblueprint-Dev-Db:

Explore database with Azimutt

Application Projects

App Blueprint Web project

App Blueprint API project

App Blueprint Developer Cli project

App Blueprint Application Gateway project

App Blueprint AppHost project

App Blueprint Test project

Application Modules

App Blueprint Architecture test module

App Blueprint Application module

App Blueprint Service defaults module

App Blueprint Ui Kit module

App Blueprint Application infrastructure module

Cloudflare Worker projects

👨‍đŸ’ģ Development Workflow

Getting started guide to develop both on the App Blueprint and Deployment Manager projects

Development Workflow

đŸŽ¯ Vision

Deploy a new SaaS app project with one command via the Developer CLI, adding application-specific features while fundamental components are preconfigured. Complete deployment within 30 minutes.

🌲 Purpose

The purpose is to deploy SaaS products for personal and business use, achieve financial freedom, and escape corporate constraints.

📈 Objectives

  • Fun to work with and develop

  • Consolidated shared infrastructure

  • Cost-effective, secure, and fast deployment

  • Familiar tech stack (maximize C# usage)

  • Automated processes for CI/CD, disaster recovery, and documentation

  • Support for multiple environments: Dev, QA, staging, and production

🤔 Complexities

  • Keeping multiple SaaS applications updated

  • Balancing high-level vision with low-level troubleshooting

  • Determining MVP deployment timelines

  • Deciding when and how to include a Deployment Manager in future versions

Hosting

Milan Clean Architecture

Didact

Blazor Diagrams

📁 File Structure

├─ .github # GitHub workflows ├─ Code # Application source code │ ├─ AppBlueprint # SaaS Blueprint projects │ ├─ ApiService # .NET API (REST API) │ ├─ AppGateway # .NET API Gateway with YARP proxy │ ├─ AppHost # .NET Aspire AppHost │ ├─ DeveloperCli # .NET CLI for developers │ ├─ ServiceDefaults # .NET Aspire service defaults │ ├─ Tests # .NET tests (unit, integration, architecture, bunit) │ ├─ Web # .NET Blazor server web app │ ├─ Shared-Modules # Clean Architecture shared modules │ ├─ Api.Client.Sdk # .NET architecture tests │ ├─ Application # .NET architecture tests │ ├─ Contracts # .NET architecture tests │ ├─ Domain # .NET architecture tests │ ├─ Infrastructure # .NET architecture tests │ ├─ Presentation.ApiModule # .NET architecture tests │ ├─ SharedKernel # .NET Aspire shared kernel │ ├─ UiKit # .NET architecture tests

â„šī¸ Definitions

  • Entity

  • DTO

    • Request

    • Response

  • Database

    • Migrations

    • Contexts

🔗 App Projects

File Discovery

GroceryBot

Cooligram

Honest dating

Better parking

Probro

Boligportal

Last modified: 21 April 2025