{"id":21659552,"url":"https://github.com/fermyon/enterprise-architectures-and-patterns","last_synced_at":"2025-04-12T10:36:47.299Z","repository":{"id":231298386,"uuid":"762285783","full_name":"fermyon/enterprise-architectures-and-patterns","owner":"fermyon","description":"Collection of Enterprise Architectures \u0026 Patterns built with Spin and WebAssembly","archived":false,"fork":false,"pushed_at":"2024-04-10T09:55:09.000Z","size":277,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":5,"default_branch":"main","last_synced_at":"2024-04-14T04:43:50.939Z","etag":null,"topics":["architectures","fermyon-spin","patterns","spin","webassembly"],"latest_commit_sha":null,"homepage":"","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/fermyon.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null}},"created_at":"2024-02-23T13:14:39.000Z","updated_at":"2024-04-15T10:49:59.893Z","dependencies_parsed_at":"2024-04-15T10:49:24.232Z","dependency_job_id":"5b20996e-151c-4645-83f5-4c4baa41d5c1","html_url":"https://github.com/fermyon/enterprise-architectures-and-patterns","commit_stats":null,"previous_names":["fermyon/enterprise-architectures-and-patterns"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fermyon%2Fenterprise-architectures-and-patterns","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fermyon%2Fenterprise-architectures-and-patterns/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fermyon%2Fenterprise-architectures-and-patterns/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fermyon%2Fenterprise-architectures-and-patterns/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/fermyon","download_url":"https://codeload.github.com/fermyon/enterprise-architectures-and-patterns/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248554523,"owners_count":21123692,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["architectures","fermyon-spin","patterns","spin","webassembly"],"created_at":"2024-11-25T09:31:13.031Z","updated_at":"2025-04-12T10:36:47.270Z","avatar_url":"https://github.com/fermyon.png","language":"Rust","funding_links":[],"categories":["Rust"],"sub_categories":[],"readme":"# Enterprise Architectures \u0026 Patterns\n\n[![Build Status](https://github.com/fermyon/enterprise-architectures-and-patterns/actions/workflows/ci.yaml/badge.svg)](https://github.com/fermyon/enterprise-architectures-and-patterns/actions/workflows/ci.yaml)\n\nThis repository contains a collection of enterprise architectures and patterns, to illustrate the potential of [Spin](https://github.com/fermyon/spin) and WebAssembly (Wasm) for building real-world applications.\n\nEach 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).\n\n## Getting Started with Spin\n\nIf you haven't used Spin before, we highly recommend exploring the [Fermyon Developer Home](https://developer.fermyon.com) to get started. There you'll find everything from installing Spin on your local machine, over language-specific guides, to advanced techniques when building serverless Wasm applications.\n\n## Architectures \u0026 Patterns in this Repository\n\n### CronJobs in Kubernetes\n- [HTTP APIs and CronJob](./api-with-cronjob)\n- [Distributed ToDo-App](./distributed-todo-app/)\n\n### CRUD APIs\n- [Go CRUD API with persistence in SQLite](./http-crud-go-sqlite/)\n- [JavaScript CRUD API with persistence in PostgreSQL](./http-crud-js-pg/)\n- [JavaScript CRUD API with persistence in SQLite](./http-crud-js-sqlite/)\n- [Rust CRUD API with persistence in MySQL](./http-crud-rust-mysql/)\n\n### Command and Query Responsibility Segregation (CQRS)\n- [Command and Query Responsibility Segregation (CQRS) in Go](./cqrs-go/)\n- [Command and Query Responsibility Segregation (CQRS) in Rust](./cqrs-rust/)\n- [Command and Query Responsibility Segregation (CQRS) using Spin Service Chaining in Rust and Go](./cqrs-servicechaining/)\n\n### Patterns for building HTTP APIs\n- [Content Negotiation](./content-negotiation-rust/)\n- [Cross-Origin Resource Sharing (CORS)](./cors-rust/)\n- [Long Running Jobs over HTTP](./long-running-jobs-over-http/)\n- [Transparent Caching](./caching-rust/)\n- [Image Transformation](./image-transformation/)\n\n### Application Variables (aka Configuration Data)\n- [Using the Azure Key Vault Application Variable Provider](./application-variable-providers/azure-key-vault-provider/)\n- [Using the Vault Application Variable Provider](./application-variable-providers/vault-provider/)\n\n### Webhooks\n- [Signed Webhooks using WebAssembly Component Model](./signed-webhooks/)\n\n### Distributed Application Patterns\n- [Polyglot Aggregate Pattern implementation](./aggregate-pattern/)\n- [Polyglot Publish-Subscribe](./pub-sub-polyglot/)\n\n### Testing\n- [How to load test Spin Apps with Grafana k6](./load-testing-spin-with-k6/)\n- [OpenTelemetry Integration and automatic instrumentation](./distributed-tracing/)\n\n\n## Are you looking for a particular pattern or architecture\n\nWe 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](https://github.com/fermyon/enterprise-architectures-and-patterns/issues).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffermyon%2Fenterprise-architectures-and-patterns","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffermyon%2Fenterprise-architectures-and-patterns","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffermyon%2Fenterprise-architectures-and-patterns/lists"}