Build Production-Ready
Microservices & AI Systems πŸš€

Free, open-source learning through a real-world FinTech system with 10+ microservices, event-driven architecture, and AI-ready patterns.

PFMS microservices architecture diagram

Real-world polyglot microservices architecture


Also building

Gaby β€” a Spanish app for people moving to Spain

An offline iPhone app that has you rehearse the conversations you'll actually have β€” the pharmacy, the NIE appointment, the menΓΊ del dΓ­a. No subscription, no account, no network requests.

See Gaby β†’

What You'll Learn Here πŸ’‘

πŸ—οΈ

FinTech Microservices

Production patterns from real financial systems: budgets, transactions, goals, analytics.

  • Event-driven architecture
  • Domain-Driven Design
  • Polyglot persistence
  • Service mesh ready
πŸ€–

AI Agent Integration

Build intelligent automation with modern AI tools and frameworks.

  • n8n workflow automation
  • CrewAI multi-agent systems
  • LLM-powered microservices
  • MCP server patterns
πŸ“ˆ

Ship Real Products

From localhost to production with battle-tested patterns.

  • Docker & Kubernetes
  • Observability & monitoring
  • Security best practices
  • Free-tier deployments

The PFMS Project: Your Learning Playground πŸ›°οΈ

Personal Finance Management System is a complete, production-grade reference architecture demonstrating enterprise patterns across a polyglot stack. Run the entire system with one command.

Backend Services

Spring Boot NestJS Go Python PHP

Messaging & Events

Kafka RabbitMQ

Infrastructure

Docker Eureka Consul PostgreSQL
🎯 What makes PFMS different from other learning projects?

Most microservices tutorials are toy examples. PFMS is a real system you could deploy to production:

  • βœ… Complete authentication & authorization
  • βœ… Event-driven with Kafka + RabbitMQ
  • βœ… Multiple service discovery patterns
  • βœ… Production observability setup
  • βœ… Database-per-service pattern
  • βœ… Containerized and orchestration-ready
πŸš€ How do I get started?
git clone https://github.com/delose/pfms.git
cd pfms
./run-pfms.sh

# Open http://localhost:3000
# Demo credentials: demo@pfms.dev / demo123

That's it! All 10+ microservices start automatically with pre-loaded demo data.

πŸ“š What can I learn from the codebase?
  • API Gateway patterns: JWT auth, routing, load balancing
  • Event sourcing: Budget changes trigger Kafka events β†’ notifications
  • Saga patterns: Distributed transactions across services
  • CQRS: Separate read/write models for analytics
  • Service mesh preparation: Ready for Istio/Envoy integration
  • AI integration: LLM-powered financial advisor service

AI Agents & Automation πŸ€–

Building intelligent systems that combine microservices with AI-powered automation. Practical guides on integrating LLMs, workflow automation, and multi-agent systems.

πŸ”§ n8n Workflow Automation

Build no-code/low-code automation that integrates with your microservices:

  • Automated financial reports
  • Budget alert workflows
  • Multi-service orchestration
  • Webhook-driven processes

🧠 CrewAI Multi-Agent Systems

Coordinate multiple AI agents for complex tasks:

  • Financial analysis crew
  • Content generation pipeline
  • Code review automation
  • Documentation agents

Coming Soon: Dedicated tutorials on building profitable AI automation products, integrating Spring AI with microservices, and MCP server patterns for LLM tools.


Why Microservices + AI? 🎯

The future of software is modular intelligence. Microservices provide the architectural foundation, while AI agents add the intelligence layer. This combination enables:

πŸ”Œ Composable AI

Each microservice becomes an AI tool/function that LLMs can orchestrate

⚑ Selective Intelligence

Add AI to specific services (analytics, recommendations) without rewriting everything

πŸ“Š Context-Aware

AI agents access domain-specific data through well-defined service boundaries

πŸ’° Revenue Ready

Ship AI-powered features as independent services with clear value props


Explore by Category πŸ“–


Open Source Impact πŸ“Š

10+
Microservices
5
Languages
100%
Free & Open
1 cmd
To Run

Join developers learning production-grade microservices through real code. Star the project on GitHub ⭐


Start Learning Today πŸš€

Everything here is free and open source. Clone the code, read the guides, build something amazing.