Skip to content

Latest commit

 

History

History
30 lines (22 loc) · 452 Bytes

README.md

File metadata and controls

30 lines (22 loc) · 452 Bytes

Get starting

Product APIs

Create new APIs with Rust

> spin new http-rust product-api --accept-defaults && cd product-api
dapr run \
    --app-id productapi \
    --app-port 5001 \
    --resources-path ../components \
    --config ../components/daprConfig.yaml \
    -- spin up --listen 0.0.0.0:5001

Run APIs

> cd product-api
> spin build
> spin up

Refs