# PortalDotsのディレクトリ構造

[PortalDotsのGitHubリポジトリ](https://github.com/portaldots/PortalDots)は、以下のディレクトリ構造を持ちます(2022年4月現在)。

PortalDotsは、主にLaravelとVue.js(バージョン2)、SCSSを利用しています。

{% hint style="warning" %}
Laravelのモデルは、一般的に`app/Models`ディレクトリに格納しますが、PortalDotsでは`app/Eloquents`ディレクトリに格納しています。
{% endhint %}

```
.
├── .github
│   ├── workflows           CIの実行やリリースZIPファイルの作成のためのGitHub Actionsワークフロー。
├── app                     Laravelのアプリケーションディレクトリ。
│   ├── Auth                
│   ├── Console             
│   ├── Eloquents           モデル。Laravel標準のフォルダ(Models)とは異なるので注意。
│   ├── Exceptions          
│   ├── Exports             CSVエクスポート/インポート機能。
│   ├── GridMakers          スタッフモード内に表示する各種一覧表示の定義。
│   ├── Http                
│   │   ├── Controllers     コントローラー。原則として1コントローラにつき1アクションのみ。
│   │   ├── Middleware      
│   │   ├── Requests        フォームリクエストクラス。バリデーション処理は原則ここに書く。
│   │   └── Responders      
│   ├── Mail                
│   ├── Notifications       
│   ├── Policies            
│   ├── Providers           
│   └── Services            サービスクラス。データベースを操作する処理をここに書くことがある。
├── bootstrap               
├── config                  
├── cron                    
├── database                
│   ├── factories           
│   ├── migrations          
│   └── seeders             
├── docker_dev              
├── patches                 npmパッケージにパッチを当てるために利用。
├── resources               
│   ├── img                 
│   ├── js                  
│   │   ├── forms_editor    フォームエディター用のJavaScriptファイル。Vue.jsを使用。
│   │   └── v2              フォームエディター以外のJavaScriptファイル。Vue.jsを使用。
│   ├── lang                
│   ├── sass                
│   │   └── v2              主なスタイルはこのフォルダ内に書く。
│   └── views               ビューファイル。原則としてコントローラのアクション1つにつき1ファイル。
└── routes                  ルーティング定義ファイル。スタッフモードと一般モードでファイルを分けている。
```


---

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

```
GET https://docs.portaldots.com/4.x/contributing/directories.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
