Skip to content

Latest commit

 

History

History

spin

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