Project Structure
MooseJS relies heavily on structural conventions to make sure you can build quickly and reliably. That means the project structure is important.
The following is the basic structure of a MooseJS project:
- models.ts
- flow.ts
Top-level Folders and Files
app | The main folder for your application. |
.moose | Moose internals. You shouldn't ever have to touch anything in here. |
package.json | The default npm package manifest file (opens in a new tab) |
project.toml | Configuration file specific to Moose for your application. |
App folders
datamodels | The folder where you define your Data Models. |
flows | The folder where you define your Flows - note that the hierarchy of folders here dictates the routing and orchestration of your flows. |