Unified React
UnifiedReact is a low-code app builder environment, allowing for a single application runtime across multiple
frontend projects.
UnifiedReact 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.
unified-cli
Usage: yarn unified-cli [command]
Commands Supported:
Deploy an application available in the 'applications' folder.
Run at local (debug)
1. Setup environments
yarn install
yarn build:debug && cd dist && npm i && npm link && cd ..
2. Start application
cd frontend
unified-cli start <application_name> <port>
3. Start studio
Run setup once:
yarn setup:studio <your_domain>
EG
yarn setup:studio danhvu.hosted-app.cloud
Start studio and sign-in:
yarn start:studio
Deploy to AWS
unified-cli deploy <server> application <appplication_name>
Deploy with minify option
unified-cli deploy <server> application <appplication_name> -m
OR
unified-cli deploy <server> application <appplication_name> -minify
Deploy with sourcemap
unified-cli deploy <server> application <appplication_name> -sm=linked|external|inline|both
OR
unified-cli deploy <server> application <appplication_name> -sourcemap=linked|external|inline|both
Deploy a component available in the 'components' folder.
deploy component component-name,...
Start a local UnifiedReact server
unified-cli start application-name [port]