Skip to content

A monorepo for building reusable, scalable SaaS microservices using TypeScript and modern cloud-native practices, developed in collaboration with an AI Co-Developer.

License

Notifications You must be signed in to change notification settings

venkateshcv1809/saascript

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

55 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SaaScript

A Comprehensive SaaS Blueprint and Framework in a Monorepo Structure

Welcome to the SaaScript monorepo! This project serves as a robust, scalable, and modular blueprint for building modern SaaS applications using the TypeScript and Node.js ecosystem. It's designed to provide a ready-to-use codebase and architectural foundation, allowing developers to focus on their unique business logic rather than boilerplate infrastructure.


Project Vision

Our vision is to offer a comprehensive, end-to-end SaaS framework that enables developers to rapidly build, customize, and self-host scalable, robust, and full-featured SaaS applications.

Core Principles

  • AI-Assisted Development: Leveraging AI tools and processes to maximize efficiency across the entire software development lifecycle.
  • Automation First: Automate repetitive and complex tasks with "single-command" scripts.
  • Convention Over Configuration: Embrace structured frameworks (NestJS, React with Next.js) to enforce consistency and maintainability.
  • Modular & Reusable: Designed with independent microservices and components for high reusability.
  • API-First: Clear, consistent, and well-documented APIs for all services.
  • Scalable & Resilient: Architected to handle high loads and ensure high availability.
  • Security-First: Built with robust security practices at every layer.
  • TypeScript-First: Prioritizing TypeScript for robust, scalable, and maintainable codebase.

Technology Stack Highlights

  • Backend: NestJS (TypeScript/Node.js)
  • Databases: PostgreSQL (Transactional), DynamoDB (User Profiles)
  • Caching/Session: Redis
  • Messaging/Queues: RabbitMQ, Apache Kafka
  • Frontend: React with Next.js Framework
  • Deployment: Kubernetes (K8s) with Minikube for local dev
  • Secrets Management: HashiCorp Vault

Monorepo Structure

This monorepo is organized into the following top-level directories:

  • modules/: Houses individual backend microservices (e.g., auth, billing, api-gateway).
  • frontend/: Contains frontend applications (e.g., frontend/web for the public site, frontend/admin for the admin panel).
  • docs/: Comprehensive project documentation, architectural diagrams, and guides.
  • scripts/: Root-level automation scripts for development, testing, and deployment.

Documentation

The docs/ directory contains comprehensive guides and architectural overviews for the SaaScript project:


Getting Started (Local Development)

Refer to the docs/local-development.md guide for detailed instructions on setting up and running the project locally.

Development Workflow

Our development workflow follows an AI-assisted agile methodology with a simplified Gitflow strategy and Conventional Commits. See docs/development-workflow.md for details.

Contributing

We welcome contributions! Please refer to the pull request template and contribution guidelines.

License

This project is licensed under the MIT License. See the LICENSE file for more details.


Developed with the assistance of an AI Co-Developer.

About

A monorepo for building reusable, scalable SaaS microservices using TypeScript and modern cloud-native practices, developed in collaboration with an AI Co-Developer.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Contributors 2

  •  
  •