AppFlow
AppFlow is a low-code app builder environment, allowing for a single application runtime across multiple
frontend projects.
AppFlow can be deployed using Terraform, to any AWS account. The frontend and backend projects should be deployed
once on a particular AWS/cloud account, and can be used to create any number of applications all running on serverless
infrastructure.
appflow-cli
Usage: yarn appflow-cli [command]
Commands Supported:
Deploy an application available in the 'applications' folder.
Run at local (debug)
yarn build:debug && cd dist && npm i && npm link && cd .. && cd frontend && appflow-cli start <application_name>
appflow-cli start <application_name>
Deploy to AWS
appflow-cli deploy application <appplication_name>
Deploy with minify option
appflow-cli deploy application <appplication_name> -m
OR
appflow-cli deploy application <appplication_name> -minify
Deploy with sourcemap
appflow-cli deploy application <appplication_name> -sm=linked|external|inline|both
OR
appflow-cli deploy application <appplication_name> -sourcemap=linked|external|inline|both
Deploy a component available in the 'components' folder.
deploy component component-name,...
Start a local appflow server
start application-name [port]
When update component need run again:
(note: Node version > 21, yarn > 3)
npm install -g appflow-cli
appflow-cli login https://apps.staging.visual1.com.au/
appflow-cli fetch https://apps.staging.visual1.com.au/ application story-book
appflow-cli fetch https://apps.staging.visual1.com.au/ component
appflow-cli start story-book 8000