▶ 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

Kindtemplate
Version0.1.0
LicenseApache-2.0
Export controlnone
Works witharchec >=0.10
Edition0.12
Handlersthe action language (```arche), run as TypeScript from its code
Homehttps://github.com/arche-lang/arche-lang

Model

SystemsService
ComponentsApi Orders Store
Requirements4
Messages3

Code it brings

WhereLanguageLines
main.arche · Api.place.bodyarche3
main.arche · Api.count.bodyarche1
main.arche · Api.clear.bodyarche2
main.arche · Api.seen.bodyarche1
main.arche · Orders.check.bodyarche6
main.arche · Store.keep.bodyarche3
main.arche · Store.clear.bodyarche2

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-service

Versions

VersionPublishedarchecState
0.1.02026-11-12>=0.10public

Signature

Signed by arche with key e660d0a8851875b9. Files: 3, fingerprint sha256-1c1334df624a09052449…. archec add checks both before it writes anything.

Discussion

Loading…