# Mini-Program Directory Structure
A Mini-Program consists of one app that describes the overall program and multiple pages that describe individual pages.
The main part of a Mini-Program is composed of three files, which must be placed in the root directory of the project, as follows:
| File | Required | Purpose |
|---|---|---|
| app.js | Yes | Mini-Program logic |
| app.json | Yes | Mini-Program public configuration |
| app.ftss | No | Mini-Program public stylesheet |
A Mini-Program page is composed of four files:
| File Type | Required | Purpose |
|---|---|---|
| js | Yes | Page logic |
| fxml | Yes | Page structure |
| json | No | Page configuration |
| ftss | No | Page stylesheet |
Note
To reduce configuration efforts for developers, the four files describing a page must have the same path and filename.