saasexpress-0.2.0 is not a library.
SaaS Express
Getting Started
Download latest binary for your operating system from https://github.com/saasexpress/saasexpress/releases/latest
saasexpress -c test.yaml
Save to test.yaml a simple graph that creates an API on port 2500, returning static JSON data.
name: sample
nodes:
- id: start
operator: HTTPIn
method: ^(GET)$
routes:
- /hello
- id: translate
operator: MessageTranslator
template: |
{
"message": "Hello " + temp.http_in.query.name,
"data": data,
"action": temp.http_in.method,
}
edges:
-
Go to: http://localhost:2243/hello
Development
With tokio console:
RUSTFLAGS="--cfg tokio_unstable"
Tests
Or if you want to do development related to the test: