# Application structure

A Liteflow application is composed of 3 different components:

  • The processes that describes the business logic of an application.
  • The services that execute the tasks needed for the processes.
  • The environment that are needed to configure services or specific part of processes.
.
├── .env
├── processA.yml
├── processB.yml
├── processC.yml
└── services
    ├── service-name-1
    │   ├── liteflow.yml
    │   └── ...
    └── service-name-2
        ├── liteflow.yml
        └── ...

Use the CLI

You can use the command liteflow init to create a boilerplate of your project.

# Optional files

Services and environments are optional in an application.

An application can only be composed of one or multiple processes that uses external services.