> ## Documentation Index
> Fetch the complete documentation index at: https://docs.forest.app/llms.txt
> Use this file to discover all available pages before exploring further.

# forest projects:create:demo

> Create a Forest project on sample data, with no database

# 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

```bash theme={null}
forest projects:create:demo <APPLICATION_NAME> [options]
```

## Arguments

| Argument | Description |
| - | - |
| `APPLICATION_NAME` | Name of the project to create (required). Also the name of the generated directory |

## Options

| Option | Description |
| - | - |
| `-l, --language` | Language of the generated back-end: `javascript` or `typescript`. Prompted when omitted |
| `-H, --applicationHost` | Hostname the back-end runs on. Prompted when omitted, default `http://localhost` |
| `-P, --applicationPort` | Port the back-end runs on. Prompted when omitted, default `3310` |

## 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:

```bash theme={null}
cd my-demo
npm install
npm run build   # TypeScript projects only
npm start
# in another terminal, once the back-end is running
forest layout:apply forest-layout.json --with-workflows --env Development --team Operations
```

[`forest start --flow demo`](https://docs.forest.app/reference/cli/start) runs all of these steps for you.

## Examples

```bash theme={null}
# Create a demo project in TypeScript
forest projects:create:demo my-demo --language typescript

# Create it without prompts
forest projects:create:demo my-demo -l typescript -H http://localhost -P 3310
```

When you are ready to work on your own data, create a project with [`forest projects:create:sql`](https://docs.forest.app/reference/cli/projects-create-sql) or [`forest projects:create:nosql`](https://docs.forest.app/reference/cli/projects-create-nosql).


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.