create:app
fuel create:app

fuel create:app

Scaffold a new app from the Fuel monorepo template with optional ECS provisioning.

Usage

fuel create:app <name> [options]

Description

Creates a new full-stack project by copying the Fuel monorepo template, removing unselected modules, installing dependencies, building the project, and generating database migrations. Pass --config to also provision the complete AWS ECS infrastructure (ECR, ECS/Fargate, RDS, ALB, VPC, IAM OIDC, Secrets Manager) and push the code to a new GitHub repository.

Options

FlagDescriptionDefault
-m, --modules <list>Comma-separated list of modules to include (e.g. billing,documents).
-a, --all-modulesInclude all available modules.
-o, --output <path>Output directory for the new project../<name>
-s, --source <path>Path to a local monorepo root to use as the template source.
--dry-runPreview the scaffolding operation without writing any files.
--skip-installSkip yarn install. Also implicitly skips migration generation, since migrations require a build.
--skip-buildSkip yarn build. Also implicitly skips migration generation, since migrations require a build.
--skip-gitSkip git init and initial commit.
--skip-migration-generationSkip database migration generation.
--keep-migrationsKeep existing migrations from the template instead of regenerating.
-c, --config <path>Path to fuel.yml. When provided, triggers full AWS ECS infrastructure provisioning.
--target-branch <branch>Only push to this branch (useful for CI pipelines).
--force-pushForce push code to the target repository.
--destroy-on-failureAutomatically destroy provisioned AWS resources if OpenTofu fails.
--skip-branch-protectionSkip configuring GitHub branch protection rules.
--github-token <token>GitHub personal access token.
--github-username <user>GitHub username.
--github-organization <org>GitHub organization where the repo will be created.
--aws-access-key-id <key>AWS Access Key ID.
--aws-secret-access-key <secret>AWS Secret Access Key.
--aws-region <region>AWS region for infrastructure provisioning.us-east-1

Examples

Basic scaffold (no modules, no cloud)

fuel create:app my-app

Scaffold with specific modules

fuel create:app my-app --modules billing,documents

Scaffold with all available modules

fuel create:app my-app --all-modules

Preview without writing files

fuel create:app my-app --dry-run

Scaffold + full ECS infrastructure provisioning

fuel create:app my-app --config fuel.yml

Live Demo

Simulated terminal output for fuel create:app. Press replay to restart.

fuel create:app
$