Skip to main content

forest projects:create:demo

Create a new project that runs on a bundled sample dataset (a demo bank), with no database to connect. The CLI registers the project on Forest and generates a Node.js back-end in a new directory named after the project.

Usage

Arguments

Options

What it generates

  • A Node.js back-end on the demo bank dataset, with an embedded workflow executor
  • A .env file with the project’s FOREST_ENV_SECRET, FOREST_AUTH_SECRET and APPLICATION_PORT
  • A curated forest-layout.json, the definitions of its workflows in workflows/, and the custom components it uses
The layout is not applied automatically. Start the back-end once so that it sends its schema to Forest, then apply the layout:
forest start --flow demo runs all of these steps for you.

Examples

When you are ready to work on your own data, create a project with forest projects:create:sql or forest projects:create:nosql.