▶ Try it its model runs in your browser, nothing to install
template · verified
arche/web-service
Web service
A backend service as one process: an HTTP API that takes orders, a module that checks them, a store that keeps them. It simulates, its Go builds and serves the API, its OpenAPI spec is generated.
servicewebhttpapibackendgo
archec add main.arche arche/web-service@^0.1
Package
| Kind | template |
|---|---|
| Version | 0.1.0 |
| License | Apache-2.0 |
| Export control | none |
| Works with | archec >=0.10 |
| Edition | 0.12 |
| Handlers | the action language (```arche), run as TypeScript from its code |
| Home | https://github.com/arche-lang/arche-lang |
Model
| Systems | Service |
|---|---|
| Components | Api Orders Store |
| Requirements | 4 |
| Messages | 3 |
Code it brings
| Where | Language | Lines |
|---|---|---|
main.arche · Api.place.body | arche | 3 |
main.arche · Api.count.body | arche | 1 |
main.arche · Api.clear.body | arche | 2 |
main.arche · Api.seen.body | arche | 1 |
main.arche · Orders.check.body | arche | 6 |
main.arche · Store.keep.body | arche | 3 |
main.arche · Store.clear.body | arche | 2 |
Web service
A backend service as one process: an HTTP API that takes orders, a module that checks them, a store that keeps them. It simulates, its Go builds and serves the API, its OpenAPI spec is generated.
Start a project from it — a copy that is yours to change:
archec new my-project --template arche/web-serviceVersions
| Version | Published | archec | State |
|---|---|---|---|
0.1.0 | 2026-11-12 | >=0.10 | public |
Signature
Signed by arche with key e660d0a8851875b9. Files: 3, fingerprint sha256-1c1334df624a09052449…. archec add checks both before it writes anything.
Discussion
Loading…