This repository contains a collection of enterprise architectures and patterns, to illustrate the potential of Spin and WebAssembly (Wasm) for building real-world applications.
Each folder contains a self-contained example, including a high-level explanation of the pattern/architecture and instructions on how to build and run the particular Spin App(s).
If you haven't used Spin before, we highly recommend exploring the official Spin documentation to get started. There you'll find everything you need. From installing Spin on your local machine, over language-specific guides, to advanced techniques for building serverless Wasm applications.
Each and every samples lists supported platforms. See the following list of all platforms mentioned:
- Local Machine (
spin up) - SpinKube
- Akamai Functions
- HTTP APIs and CronJob [Local | SpinKube]
- Distributed ToDo-App [Local | SpinKube]
- Go CRUD API with persistence in SQLite [Local]
- JavaScript CRUD API with persistence in PostgreSQL
- JavaScript CRUD API with persistence in SQLite
- Rust CRUD API with persistence in MySQL
- Command and Query Responsibility Segregation (CQRS) in Go
- Command and Query Responsibility Segregation (CQRS) in Rust
- Command and Query Responsibility Segregation (CQRS) using Spin Service Chaining in Rust and Go
- Content Negotiation
- Cross-Origin Resource Sharing (CORS) [Local | SpinKube | Akamai Functions]
- Long Running Jobs over HTTP
- Transparent Caching
- Image Transformation
- Using the Azure Key Vault Application Variable Provider
- Using the Vault Application Variable Provider
We do our best to keep the list of enterprise architectures and patterns continuously growing. If you're missing a particular architecture or pattern, create an issue and let us know.