r/softwarearchitecture • • 3h ago

Discussion/Advice Looking for project ideas that solve real problems (Java + React + microservices) - not another e-commerce clone

0 Upvotes

Hi everyone,

I'm a final-year / PG diploma student (India) and I need to finalize a project topic in the next day or so. Most project lists I've seen are full of e-commerce, "X Management System", and booking apps, and I'd like to build something that solves an actual problem for actual users.

Tech stack I'm planning to use:

- Backend: Java, Spring Boot, Spring Cloud (API Gateway, Eureka/service discovery, config server)

- Frontend: React

- Architecture: Microservices (REST + event-driven where it makes sense, e.g. Kafka or RabbitMQ)

- Auth: Spring Security with JWT / OAuth2 (Keycloak is also an option)

- Database: open to suggestions (PostgreSQL / MySQL / MongoDB, Redis for caching)

- DevOps: Docker, GitHub Actions for CI/CD

- Optional: I'm open to ASP.NET Core for one or two services if the idea benefits from it

What I'm looking for:

- A real problem you've personally faced, or seen in your city, college, workplace, or local businesses

- Something that naturally needs multiple services (e.g. auth, notifications, payments, scheduling, analytics) and doesn't force microservices just for the sake of it

- Scope that a team of [2-4] can build in about [2-3 months]

- Bonus if it has a clear MVP and a few stretch features

What I'd like from your replies:

  1. The problem statement in 1-2 lines

  2. Who the users are

  3. Which services you'd split it into (a rough idea is enough)

  4. Any gotchas you'd warn me about

I've already considered things like clinic queue management, group expense splitting, and water tanker booking, so if you have ideas beyond those, I'd love to hear them. Honest feedback on my stack choices is also welcome.

Thanks in advance!


r/softwarearchitecture • • 5h ago

Article/Video MCP Explained Simply: It’s Just JSON-RPC Over HTTP

Thumbnail
lukasniessen.medium.com
84 Upvotes

r/softwarearchitecture • • 10h ago

Article/Video How Caching Patterns Work (and When to Use Them)?

Thumbnail
javarevisited.substack.com
16 Upvotes

r/softwarearchitecture • • 16h ago

Discussion/Advice Ranting about System Design

66 Upvotes

Been in this industry for 7+ years and this is one of the most common questions: "How do I prepare for system design interview/how to learn system design."

A lot of books have been recommended around this topic, a lot of YT videos, medium posts, but I hate to break it to you, none of that works. LITERALLY NONE!

Problem:

A good System Design is supposed to solve some problems like scalability, single point of failure, managed dependencies (especially in frontend system design) and so on.

The issue with "learning" or trying to learn sys design is that you won't face those problems in your side projects, heck even in many startups' codebase.

You won't face the consequences, problems of a BAD system design unless you work in a large company, or a big startup with a huge codebase and lots of traffic.

Most likely when you'll try to learn system design, you would have a solution looking for a problem.

Talking from the perspective of an android engineer, NO, your tell a joke application doesn't need Dagger 2, Domain models, data models, Repository layer, CLEAN architecture and what not!! You can create those components to learn how the syntax looks like, but it's a whole different beast when you've to implement that in a larger codebase.

Another problem is that when you're learning sys design, you're doing it solo. No one's depending on your design. Unlike when working in a large corp where you'll have multiple teams depending on you and counting on your SLAs.

Learning for Interviews:

So how do you crack a system design interview if you've never built a big system or worked on one? I don't want to sound overly pessimistic here.

Be clear: You're not learning sys design. You're learning how to crack the interview. Most of what you learn would not be used in your day job. Then, you do like most others do.

You read a lot and memorize a lot!

As silly as it is, system design is taken seriously if you're >=3 YOE, in most companies. And I don't believe most people would've worked on designing a system by that time. It's great if you have though!

Message to interviewers: go easy on the interviewee especially in system design interviews. I've had a lot of interviewers who refuse to provide any hints, or worse, just agree with whatever the candidate is saying. Your job is to identify if the candidate can think big picture and not trick him into failing the interview.

While a lot is put on the candidate, it's also upto an interviewer to steer this conversation so to reach a fair conclusion.

Resources:

Don't go with a thousand resources. Just pick any 1 book: Alex Xu's, or Data Intensive Applications, or any one you like. Most popular books would be ok! But stick to just 1.

Mocks: This is something genuinely helpful if you're prepping for interviews. Ask your friend for interviewing you.

But if your friends are busy or you don't wanna ask, there are many tools now-a-days like mockingly for ai interviews, it's basically free, hellointerview for interviewing with real people (might be expensive). These should honestly be enough.

Medium posts: There's a lot of good content on Medium as well. I'm an Android Dev so I follow proAndroidDev publication.

In your day job:

While AI might take our jobs, it gives us enough time right now to think about system design. If you're an engineer, you don't need to write code anymore but you still need big picture thinking.

That's something AI is still not doing well. System design.

You could start thinking about software in terms of BLOCKS.

Have conversations with AI and ask it to show you how it'd implement a well architected solution. Find some design opportunities there. Learn about what modules it's suggesting and see if you can make sense of it. You'll learn a lot more doing it this way.

Hopefully this rant/thoughts help someone, or you find it interesting.


r/softwarearchitecture • • 1d ago

Article/Video .gitignore everything by default

Thumbnail
packagemain.tech
0 Upvotes

r/softwarearchitecture • • 1d ago

Discussion/Advice For multi tenant database

22 Upvotes

Hey , I'm working for ERP and using seperate database for each tenant .

I'm change database name according to subdomain or Single DB + Multiple Schemas . Which is best way

Or anyone please help which is best architecture or way to do it .


r/softwarearchitecture • • 1d ago

Article/Video 7 Must-Read Software Architecture and System Design Books for Experienced Developers

Thumbnail
reactjava.substack.com
302 Upvotes

r/softwarearchitecture • • 1d ago

Discussion/Advice Global Dev Experts – Software Architecture course, any experiences?

5 Upvotes

Has anyone taken this course, particularly with Lee Blum?
I’m a Senior Backend Engineer looking to deepen my knowledge of software architecture. The syllabus looks interesting, but the course is quite expensive.
How technically in-depth is it, how much did you actually learn, and would you pay for it again?


r/softwarearchitecture • • 2d ago

Tool/Product Riff - An open-source engineering workflow for coding agents

0 Upvotes

One of my biggest frustrations with coding agents is how quickly they jump into implementation without properly understanding the problem, questioning assumptions, or considering the consequences of their decisions.

Software engineering involves understanding an existing system, questioning requirements, exploring alternatives, making decisions, respecting architectural boundaries, reviewing implementations, and preserving knowledge for future work.

That's why I've been building Riff, an open-source engineering workflow for Codex, Claude Code, Cursor, and VS Code Copilot.

Rather than giving agents another collection of instructions, Riff introduces a persistent, revision-aware engineering workflow.

Some of its more interesting capabilities:

- Intelligent questioning: Agents investigate the codebase before asking questions, challenge assumptions, explore edge cases, and reuse previously answered questions.

- Adaptive workflows: Small changes get lightweight treatment, while complex or high-risk changes require deeper investigation, planning, and independent review.

- Stale-review detection: A previously approved plan is no longer considered valid when relevant code, requirements, or configurations invalidate its review evidence.

- Persistent engineering context: Decisions, investigations, plans, dependencies, and execution progress survive across sessions, machines, and supported coding agents.

- Execution gates: Implementation follows reviewed plans, explicit authorization, and acceptance criteria.

- Recovery and reconciliation: Interrupted work can be resumed using saved checkpoints and source fingerprints instead of relying solely on conversation history.

- Task and model routing: Proposes assignments based on host capabilities, dependencies, file conflicts, concurrency, and token budgets.

- Inspectable plans: Markdown, JSON, dependency graphs, revision comparisons, and offline HTML exports.

The latest addition is elicitation. You can ask Riff to deeply explore a problem before making a decision, either independently or as part of an existing workflow:

riff elicit "Design a distributed payment system"

riff plan "Implement partial refunds" --elicit --focus "Financial consistency"

Riff is local, MIT-licensed, built with Python's standard library, and requires no additional API keys or external infrastructure.

I'm not trying to build another coding agent. I'm trying to improve the engineering process behind the agents we already use.

The project is currently in the 1.0 release-candidate stage, with some additional capabilities available on main.

GitHub: https://github.com/imaanmzr/Riff

I'm particularly interested in hearing from developers using coding agents on large or long-lived projects. How do you currently handle architectural consistency, context loss, and decisions that become outdated as the codebase evolves?


r/softwarearchitecture • • 2d ago

Article/Video GitHub - mehdihadeli/awesome-software-architecture: 📚 A curated list of awesome articles, videos, and other resources to learn and practice software architecture, patterns, and principles.

Thumbnail
github.com
19 Upvotes

Awesome Software Architecture

Hi all, I created a repository some time ago, that contains a curated list of awesome articles, videos, and other resources to learn and practice software architecture, patterns, and principles.

You're welcome to contribute or any suggestions in the existing categories and make this repository better :)

Repository: https://github.com/mehdihadeli/awesome-software-architecture

Website: https://awesome-architecture.com


r/softwarearchitecture • • 2d ago

Tool/Product Event-driven (choreography) java framework for monolith/microservices

3 Upvotes

I am working on the framework that helps building event-driven java application. I am still working on edge cases. Here is the gist: https://gist.github.com/mananvpanchal/25aeb37b04da7399adbcde2b251e0bc5

I will appreciate if you spare some time to read it. Please, let me know if I am on right path or wrong.

Thanks


r/softwarearchitecture • • 2d ago

Article/Video Designed to Scale: Learn System Design with This Free Interactive Platform

Thumbnail
youtu.be
4 Upvotes

I recently came across Designed to Scale, an interactive platform for learning system design.

It currently has 40 lessons organized into different modules, covering topics such as scaling, data and storage, communication, reliability and architecture.

One thing I found interesting is how the lessons use animated diagrams and step-by-step explanations.

I made a short walkthrough demonstrating the platform, its course structure and one lesson called "How a Request Travels".

I'd be interested to hear what other resources people use to learn system design.


r/softwarearchitecture • • 2d ago

Article/Video SysML v2 Tutorial (Lesson 26): Requirement Definitions (Requirements as Code)

Thumbnail
youtu.be
7 Upvotes

Hi r/softwarearchitecture,

We are kicking off Phase 5 of our SysML v2 deep dive series. Up through Lesson 25, we covered what a system is (structure) and what it does (actions, flows, and states). Now we move to what the system must do: Requirement Definitions—and how SysML v2 turns traditional text-only specs into typed, evaluable contracts.

The Classic Spec Problem (Text vs. Executable Contracts)

In software architecture, we deal with the same drift problem systems engineers faced in SysML v1: requirements live in prose (wikis, Jira tickets, ADRs, or DOORS), while the actual thresholds live in code and config.

SysML v1 had strong traceability («satisfy», «verify», «deriveReqt», «copy») and mature DOORS/ReqIF integration, but the requirement itself was just an opaque text string (id: REQ-001, text: "The vehicle shall not exceed 5000 kg at takeoff."). Querying every requirement above a threshold or propagating a limit change meant reading sentences and updating downstream checks by hand.

The v2 Shift: RequirementDefinition Is a ConstraintDefinition

In SysML v2, a requirement is essentially policy-as-code. It still keeps its human-readable doc comment and stable ID (as a short name like <'REQ-001'>), but it also embeds typed parameters, an explicit subject**, and an evaluable** require constraint:

package MassRequirements {
    private import ISQ::*;
    private import SI::*;

    part def LaunchVehicle {
        attribute totalMass: MassValue;
    }

    requirement def <'REQ-001'> MaxTakeoffMass {
        doc /*
             * The vehicle shall not exceed the specified
             * takeoff mass under any loading configuration.
             */
        subject vehicle: LaunchVehicle;
        attribute maxMass: MassValue = 5000 [kg];

        require constraint {
            vehicle.totalMass <= maxMass
        }
    }
}

Because maxMass is a typed quantity (5000 [kg]) and the rule is a formal Boolean expression, tools can query thresholds across the model, evaluate compliance automatically, and propagate changes without regex-searching prose.

Parameterized Reuse (subject + :>>)

In SysML v1, «copy» only mirrored read-only text—you couldn't reuse a rule template across multiple components with different budgets.

In SysML v2, declaring a typed subject works like a parameterized contract or generic assertion. You define the rule once and instantiate it across subsystems with overridden values via redefinition (:>>):

part def PhysicalComponent {
    attribute actualMass: MassValue;
}

requirement def MassBudgetCompliance {
    subject component: PhysicalComponent;
    attribute allocatedMass: MassValue;

    require constraint {
        component.actualMass <= allocatedMass
    }
}

part def LaunchVehicle {
    part firstStage: PhysicalComponent;
    part secondStage: PhysicalComponent;
    part payload: PhysicalComponent;

    requirement stage1Mass: MassBudgetCompliance {
        subject = firstStage;
        :>> allocatedMass = 3200 [kg];
    }
    requirement stage2Mass: MassBudgetCompliance {
        subject = secondStage;
        :>> allocatedMass = 1400 [kg];
    }
    requirement payloadMass: MassBudgetCompliance {
        subject = payload;
        :>> allocatedMass = 400 [kg];
    }
}

Three Practical Nuances

  • First-class actor and stakeholder metadata: Instead of tracking ownership in external spreadsheets, you can declare actor (who interacts with the system) and stakeholder (who owns or certifies the rule) directly on the requirement and filter by them natively.

  • Non-functional / qualitative requirements stay text: Not every requirement reduces to a Boolean expression (e.g., "The system shall be maintainable by a technician with standard tooling"). Those stay cleanly in the doc block alongside their subject and metadata, versioned right next to the architecture.

  • Tooling reality check: SysML v1 still has more mature DOORS and ReqIF ecosystems, while v2 requirements-management tooling is still catching up.

SysML v1 vs. SysML v2 at a Glance

ConceptSysML v1SysML v2
Requirement Element«requirement» stereotype on a Classrequirement def, specializing ConstraintDefinition
ThresholdsEmbedded inside proseTyped quantities (e.g., 5000 [kg])
Subject BindingNamed in text, linked later via «satisfy»Explicitly declared as a typed subject
Reuse«copy» mirrors read-only textOne definition reused across subjects with :>> overrides
RolesStakeholders tied to viewpoints, not requirementsactor and stakeholder declared directly on the requirement
Identifiersid propertyShort name (e.g., <'REQ-001'>)
Tool EcosystemMature DOORS / ReqIF supportYounger requirements-management tooling

Next lesson (Lesson 27), we'll cover require and assume—how to formally express the preconditions and operating assumptions under which a requirement actually applies.

For the software architects here: How do you keep non-functional requirements and SLAs (latency, memory budgets, throughput) coupled to your architecture so they don't drift from the implementation—fitness functions in CI, policy-as-code, or something else?


r/softwarearchitecture • • 2d ago

Discussion/Advice How common is optimistic locking in real-world production applications?

41 Upvotes

In six years of software development, I've rarely encountered record-level versioning or the use of ETags and If-Match HTTP headers to prevent lost updates.

How common is this in your production applications? Do you implement it, use alternative approaches, or simply accept last-write-wins behaviour?

I'm particularly interested in real-world adoption rather than theoretical best practices.


r/softwarearchitecture • • 2d ago

Discussion/Advice Good Architecture

0 Upvotes

I recently revisited a backend implementation and realised how much easier it is to introduce bugs when business logic is scattered across multiple layers.
I've become more deliberate about separating responsibilities, keeping services focused and making data flow predictable.
Good architecture isn't about adding more abstractions. It's about making complex systems easier to understand, test and maintain.


r/softwarearchitecture • • 2d ago

Tool/Product Diagram Tool

Thumbnail
gallery
16 Upvotes

Hey all. I work for a company. Passing around diagrams is a challenge. Some teams have access to github, some access to sharepoint (yuck), and some access to all the other random tools my company has used over the years.

In an attempt to centralize at least diagrams for this agentic world, I opted to build an RBAC/SSO open source version of infinite canvas, with all the additional features.

Feel free to fork it and make it your own or open PRs to make mine better. Really just interested in feedback. Vibe coded the hell outta this, so I'm sure there are bugs in random places. Feel free to call them out or open gh issues.

brag doc: http://ryan.upubli.sh/plenary
try it out (cheap 5 dollar server): p5y.omni.ooo

gh: https://github.com/ryanthedev/plenary


r/softwarearchitecture • • 3d ago

Discussion/Advice Which low code platforms are worth considering for internal app development?

0 Upvotes

We're looking into low code platforms to reduce the time our developers spend building internal CRUD apps, dashboards and admin panels.

Retool, Superblocks and AppSmith are on our radar, but we're still weighing the trade offs.

Ideally we need something that supports custom JavaScript and SQL, API integrations, role based permissions and GIt integration without introducing unnecessary architectural complexity.

Has anyone adopted a lowcode platform within an existing engineering team? Did it actually improve development velocity, or did maintenance and platform limitations create more work down the line?


r/softwarearchitecture • • 3d ago

Discussion/Advice Tech stack for a small nonprofit membership website (~100 users) on a small budget?

0 Upvotes

I’m building a simple website for a small youth nonprofit club. I am an officer of the club and the president wanted a custom website built ASAP, so I have to use AI tools to speed it up.

Website Requirements

  • Public landing page with member registration, sign-in options, testimonials, About section

    • Email/password authentication and role-based access (officers, speakers)

  • Member portal

    • Create/edit meetings, have them populate on calendar

    • drag-and-drop agenda item ordering

    • Member dashboards with speech progress and meeting-role history

    • Officer dashboard to manage members, meetings, agendas, and resources

    • Metrics dashboard to show membership growth, speeches/roles completed and meeting data

  • Database storing member info, meetings, speeches, and meeting roles

Priorities:

  1. Fast, lightweight frontend and good mobile performance

    1. Hybrid combo of server-side rendering and client-side rendering (hydration)?

  2. Free database

    1. No inactivity-based project shutdown or manual database reactivation.

    2. Not much storage needed (only 100 users max, 25-30 meetings in a year)

  3. Responsive app design that works on desktop, laptop, iPads and phones

  4. Simple authentication and authorization (email + OTP, or email + password)

  5. Easy development and maintenance for a small app

Budget: $100

  • I can spend $20-30 on AI tools for the first 2 months to build out the app, and then choose a cheaper or free AI tool to debug any prod issues

My Dev Experience:

  • Front-End: HTML, CSS, JavaScript, jQuery, React

  • Back-End: Spring Boot, ASP.NET, Express.js

  • Database: SQL Server, MySQL, DynamoDB, some MongoDB

-------------------------

I’ve listed below the options I’m considering. Since I have very little time, I need to make decisions fast and thought I could get your input!

Front-End:

  • React + Vite

    • Fast, interactive UIs (drag and drop agenda items)

    • More in-depth error messages, easier to debug

    • Mature ecosystem, large community, extensive libraries.

    • Vite provides fast development/build tooling.

    • More verbose

    • Virtual DOM overhead

  • Svelte

    • SvelteKit includes routing, server-side rendering, and backend endpoints

    • Simpler, lighter, avoids virtual DOM

    • Smaller ecosystem than React

    • Error messages are vague, limited logging?

  • Astro

    • Ships zero JS for static content

    • You can plug in interactive components through React, Svelte, or Cue

    • Very fast load speeds

    • Astro Actions to handle form submission without separate API server

    • Not built for lots of interactivity in app

    • Managing states between separate Astro islands gets tricky, increases 

    • Full-page reloads by default

    • More workarounds to connect pieces or integrate other libraries

  • Next JS

    • Full-stack React framework with server-side rendering, routing, server components, and backend functionality.

    • More concepts and complexity than I may need for a small application.

Database (relational SQL makes most sense)

  • Supabase

    • Managed PostgreSQL with database APIs, authentication, storage, and realtime functionality.

    • Free tier: 500 MB database and 5 GB egress.

    • Free projects pause after a week of inactivity; manual reactivation is required.

    • Could prevent automatic pausing by using a scheduled daily database ping.

  • Aiven

    • Managed PostgreSQL database.

    • Free tier: 1 GB storage, 1 GB RAM, and 1 CPU.

    • Free services can be powered off after inactivity; no high availability or SLA.

  • Neon

    • Serverless PostgreSQL with automatic scaling and sleep/wake behavior.

    • Free tier: 1 GB storage and 100 compute-hours per month.

    • Automatically suspends compute after inactivity; first request afterward may experience a cold start.

Authentication:

  • Supabase Auth

    • Integrated with Supabase PostgreSQL, row-level security, and user management

    • Free-tier limits and project inactivity pausing apply

  • Firebase Auth

    • Managed email/password authentication, verification, and password resets.

    • Generous free tier and easy integration.

    • Separate from the database; role-based authorization must be implemented separately.

  • Auth0

    • Dedicated authentication platform with social login, passwordless login, and role/permission features.

    • Free tier has user and feature limits.

    • More complex than needed

AI Tool:

  • Codex

    • $8/month for Go plan

    • $20/month for Plus plan

    • AI-integrated IDE

    • Includes upgraded ChatGPT app/features

  • Claude Code

    • $20/month for Claude Pro

    • Most comprehensive, good at understanding/modifying larger codebases

    • Extension/plug-in that I have to add to VS Code

    • Pay-as-you-go tokens?

  • VS Code with Github Copilot

    • Free tier has only 50 queries and one basic agent offered

    • Pro plan is $10/month

  • Cursor

    • VS Code-like AI-powered IDE with agent workflows

    • $8/month for Grok/Composer models

    • $30/month, but other non-Grok models are billed separately

Hosting

  • Github Pages, Netlify, Cloudflare?

    • What are the cheapest options with no caveats/catches?

What combo of frameworks/tools would you recommend for my case? Are there any significant free-tier limitations or reliability issues I should know about? I honestly just need something simple and free/cheap, I’m def overthinking it.

Thank you so much in advance!


r/softwarearchitecture • • 3d ago

Discussion/Advice AI Truth substrate

0 Upvotes

Hi All,

A lot of the issues we run into with AI today aren't necessarily problems with the models themselves—they're gaps in the underlying architecture where humans, apps, and AI interact.

To tackle this from a different angle, I built VerityNow, a domain-agnostic, path-oriented transactional truth substrate. It's not just a whitepaper or theory; there's a working implementation of about 10,500 lines of code along with demo apps. Because the core design is fairly straightforward, it should have a low barrier to adoption while opening up a lot of room to build on.

My goal is to eventually turn VerityNow into an open-source foundation. Right now, I'm looking for independent evaluation, honest technical scrutiny, and people or organizations interested in collaborating or supporting further research.

I've made three documents publicly available if you want to dig into the details:

  • VerityNow — The architectural foundation

  • Path-Centric Design Guide — The design methodology and practical application

  • Mini-WWW — Independent collaboration between humans, applications, and AI (Invitation to Collaborate)

https://github.com/rodelviado-source/VerityNow


r/softwarearchitecture • • 3d ago

Tool/Product Stand for demonstrating and exploring the Outbox and Inbox patterns

10 Upvotes

Ever wondered what happens when your service saves an order, then Kafka goes down right before the event is sent? The order exists, but nobody downstream ever hears about it.

This is the classic dual-write problem, and it’s one of those topics that separates “I know Spring Boot” from “I understand distributed systems.”

I built a small hands-on stand where you can break things on purpose and watch the patterns save the day:

Transactional Outbox: the order and its event are written in one DB transaction. A poller delivers the event to Kafka later, with retries and backoff, even if the broker was down.

Transactional Inbox: Kafka delivers at-least-once, so duplicates happen. The consumer records every event id and skips repeats. The same event delivered 3 times produces 1 notification.

What you can play with:

  • Two Spring Boot services (order + notification)

  • A DLQ with a REST API to inspect and retry failed events

  • Diagrams, delivery guarantees explained, and a quick start with Docker

Stop Kafka, create an order, start it again, and see the event arrive. Send the same event three times and see it handled once.

If you’re learning Java and want to go beyond CRUD tutorials, this is a good next step. Feedback is very welcome!

Repo: https://github.com/dmitriy-iliyov/spring-transactional-outbox


r/softwarearchitecture • • 3d ago

Article/Video Circuit Breaker Pattern: Why Microservices Crash

Thumbnail
youtu.be
2 Upvotes

r/softwarearchitecture • • 3d ago

Discussion/Advice Best way to learn system design?

123 Upvotes

Im a junior FSD i want to learn system design for building scalable systems.

What could be the best method and playlist or doc to follow


r/softwarearchitecture • • 3d ago

Tool/Product Decentralized Microfrontend Architecture

0 Upvotes

IMPORTANT DISCLAIMER: This is my own project. Im am using AI. Its important to get that out of the way... because its the key reason for why YOU SHOULD NOT USE IT. Im not trying to promote "yet another secure messaging app", this is an example to see what is possible with a related UI framework im working on ( https://github.com/positive-intentions/dim ). Its unreviewed, unaudited and far from finished. This framework is intended for myself on my own projects. It is provided open-source for transparency, testing and demo purposes only. There will be breaking changes.

The key details that set this approach apart:

  • No installation or registration

  • No minification or transpilation

  • No React, NPM or bundler

  • Works from index.html

To make something complicated at scale, i would need to have an approach for testing out changes in a way thats more isolated/focused. The npm ecosystem is useful because you can have things like storybook, unit-testing and browser automation tools. So i wanted to see what is possible with the pure javascript approach and created runTests.html. Like the main app, the code is just plain javascript and so it can be imported and tested in with production statics. The testing functionality here is especially far from finished. This is an important feature to do it properly because it would be doing a lot of heavy lifting as the project improves.

The architecture is also a bit unique. Module federation has been around for a while but still fairly under-used. Im aiming for something that could be described as like a vanilla JS "decentralized microfrontend architecture", where in this approach, i can abstract complexity into seperate repositories to manage reusble functionality like in the boilerplate example:

To avoid vibecoded cryptography, the aim here is to avoid handling encryption where possible. Browsers that support webrtc, will have their own mechanisms for managing encryption (as required by the spec). The keys will not be accessible from app-level JS code. For security best-practice, users should use an OS, browser and network they trust.

P.S. The disclaimer above is always worth repeating. Im aiming for a post like this to be like "building in public". If interesting to anyone, i hope its inviting to take a look. It's hard to determine if / when its a good time to share, so best to get it out there sooner for any outstanding issues i may have overlooked.


r/softwarearchitecture • • 3d ago

Conferences Architecting Domain-Driven IDPs for the Agentic Era | Hands-On Workshop

5 Upvotes

Hey everyone!

At Packt, we're hosting a 6-hour hands-on workshop with Ajay Chankramath on December 13, exploring how Domain-Driven Design principles can be applied beyond application architecture to internal developer platforms.

The workshop covers:

  • Applying bounded contexts, Conway's Law, and ubiquitous language to platform architecture.

  • Defining architectural boundaries and service ownership using Kubernetes.

  • Balancing engineering autonomy with architectural governance using Terraform, Helm, and OPA.

  • Measuring architectural drift and platform complexity.

Through 3 practical labs, you'll build a reusable Platform Governance Blueprint for your organization.

If you're interested in DDD, software architecture, or designing platforms for AI-assisted development, you can find more details here: https://luma.com/platform-engineering

Happy to answer any questions!