> For the complete documentation index, see [llms.txt](https://docs.create-magento-app.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.create-magento-app.com/getting-started/folder-structure.md).

# Folder structure

After creation, your project should look like this:

```
├── 📁 node_modules
├── 📄 package.json
└── 📄 README.md
```

Looks empty, isn't it? Well, that is because we haven't installed Magento 2 yet.

To install Magento 2 you need to bootstrap the project with [start](/getting-started/available-commands/start.md) command.

After Magento 2 installation folder structure should look

```
├── 📁 app
├── 📁 bin
├── 📁 dev
├── 📁 generated
├── 📁 lib
├── 📁 node_modules
|  ├── 📁 .create-magento-app-cache
|  |  ├── 📁 nginx
|  |  |  └── 📁 conf.d
|  |  |     └── 📄 default.conf
|  |  ├── 📁 ssl-terminator
|  |  |  └── 📁 conf.d
|  |  |     └── 📄 default.conf
|  |  ├── 📁 varnish
|  |  |  └── 📄 default.vcl
|  |  ├── 📄 port-config.json
|  |  ├── 📄 php-fpm-debug.conf
|  |  ├── 📄 php-fpm.conf
|  |  ├── 📄 php.ini
|  |  ├── 📄 mariadb.cnf
|  |  └── 📄 .magentorc
|  ... 📁 other packages
├── 📁 phpserver
├── 📁 pub
├── 📁 setup
├── 📁 var
├── 📁 vendor
├── 📄 ... Magento 2 files
├── 📄 cma.js
├── 📄 package.json
└── 📄 README.md
```

Inside `node_modules` there is `.create-magento-app-cache` folder. It contains all configuration files:

* PHP-FPM configuration file.
* PHP-FPM debug container configuration file.
* PHP configuration file.
* Nginx configuration file.
* SSL-Terminator (Nginx) configuration file.
* Varnish configuration file.
* MariaDB configuration file.
* CLI configuration file.
* Port configuration file.

In your projects root directory also will be created `cma.js` file that contains CMA configuration: Magento configuration, Docker services configuration, host and SSL configuration.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.create-magento-app.com/getting-started/folder-structure.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
