This repository contains a collection of enterprise architectures and patterns, to illustrate the potential of Spin and WebAssembly for building real-world applications.
Each folder contains a self-contained example, including some high-level explanation of the pattern/architecture and instructions on how to run the sample.
- Signed Webhooks using WebAssembly Component Model
- Command and Query Responsibility Segregation (CQRS) in Go
- Command and Query Responsibility Segregation (CQRS) in Rust
- Polyglot Aggregate Pattern implementation
- JavaScript CRUD API with persistence in PostgreSQL
- JavaScript CRUD API with persistence in SQLite
- Go CRUD API with persistence in SQLite
- Rust CRUD API with persistence in MySQL
- Polyglot Publish-Subscribe
- Long Running Jobs over HTTP
- Content Negotiation
- Transparent Caching
- Cross-Origin Resource Sharing (CORS)
- How to load test Spin Apps with Grafana k6