# Casaca

**Description:** Tainacan Add-on for reporting

## Anchors
- [Install dependencies](#install)
- [Build dependencies](#build)
- [Ignored folders and files](#ignore)
- [File Tree](#tree)

## SonarQube Analitycs

[![Quality Gate Status](https://code-review.apiki.com/api/project_badges/measure?project=Apiki_casaca_AY7nRHZefEsxhoR8kJr2&metric=alert_status&token=sqb_3757df20134f54fb6b800f9e2f2d314f2bb468a4)](https://code-review.apiki.com/dashboard?id=Apiki_casaca_AY7nRHZefEsxhoR8kJr2)

[![Bugs](https://code-review.apiki.com/api/project_badges/measure?project=Apiki_casaca_AY7nRHZefEsxhoR8kJr2&metric=bugs&token=sqb_3757df20134f54fb6b800f9e2f2d314f2bb468a4)](https://code-review.apiki.com/dashboard?id=Apiki_casaca_AY7nRHZefEsxhoR8kJr2)
[![Code Smells](https://code-review.apiki.com/api/project_badges/measure?project=Apiki_casaca_AY7nRHZefEsxhoR8kJr2&metric=code_smells&token=sqb_3757df20134f54fb6b800f9e2f2d314f2bb468a4)](https://code-review.apiki.com/dashboard?id=Apiki_casaca_AY7nRHZefEsxhoR8kJr2)
[![Coverage](https://code-review.apiki.com/api/project_badges/measure?project=Apiki_casaca_AY7nRHZefEsxhoR8kJr2&metric=coverage&token=sqb_3757df20134f54fb6b800f9e2f2d314f2bb468a4)](https://code-review.apiki.com/dashboard?id=Apiki_casaca_AY7nRHZefEsxhoR8kJr2)
[![Technical Debt](https://code-review.apiki.com/api/project_badges/measure?project=Apiki_casaca_AY7nRHZefEsxhoR8kJr2&metric=sqale_index&token=sqb_3757df20134f54fb6b800f9e2f2d314f2bb468a4)](https://code-review.apiki.com/dashboard?id=Apiki_casaca_AY7nRHZefEsxhoR8kJr2)
[![Duplicated Lines (%)](https://code-review.apiki.com/api/project_badges/measure?project=Apiki_casaca_AY7nRHZefEsxhoR8kJr2&metric=duplicated_lines_density&token=sqb_3757df20134f54fb6b800f9e2f2d314f2bb468a4)](https://code-review.apiki.com/dashboard?id=Apiki_casaca_AY7nRHZefEsxhoR8kJr2)
[![Security Hotspots](https://code-review.apiki.com/api/project_badges/measure?project=Apiki_casaca_AY7nRHZefEsxhoR8kJr2&metric=security_hotspots&token=sqb_3757df20134f54fb6b800f9e2f2d314f2bb468a4)](https://code-review.apiki.com/dashboard?id=Apiki_casaca_AY7nRHZefEsxhoR8kJr2)

[![Maintainability Rating](https://code-review.apiki.com/api/project_badges/measure?project=Apiki_casaca_AY7nRHZefEsxhoR8kJr2&metric=sqale_rating&token=sqb_3757df20134f54fb6b800f9e2f2d314f2bb468a4)](https://code-review.apiki.com/dashboard?id=Apiki_casaca_AY7nRHZefEsxhoR8kJr2)
[![Reliability Rating](https://code-review.apiki.com/api/project_badges/measure?project=Apiki_casaca_AY7nRHZefEsxhoR8kJr2&metric=reliability_rating&token=sqb_3757df20134f54fb6b800f9e2f2d314f2bb468a4)](https://code-review.apiki.com/dashboard?id=Apiki_casaca_AY7nRHZefEsxhoR8kJr2)
[![Security Rating](https://code-review.apiki.com/api/project_badges/measure?project=Apiki_casaca_AY7nRHZefEsxhoR8kJr2&metric=security_rating&token=sqb_3757df20134f54fb6b800f9e2f2d314f2bb468a4)](https://code-review.apiki.com/dashboard?id=Apiki_casaca_AY7nRHZefEsxhoR8kJr2)
[![Vulnerabilities](https://code-review.apiki.com/api/project_badges/measure?project=Apiki_casaca_AY7nRHZefEsxhoR8kJr2&metric=vulnerabilities&token=sqb_3757df20134f54fb6b800f9e2f2d314f2bb468a4)](https://code-review.apiki.com/dashboard?id=Apiki_casaca_AY7nRHZefEsxhoR8kJr2)


<h2 id="install">Installing the dependencies</h1>

**Install the plugin autoload and dependencies with the composer**
``` 
composer install
```

**Install the node dependencies with the yarn or npm**
``` 
yarn install
npm install
```

<h2 id="build">Build dependencies</h2>

**Build production and watch the resource page changes**
```
yarn watch
```

**Build production assets**
```
yarn build
```

<h2 id="ignore">Ignored folders and files</h2>

**Folders**
- vendor/
- dist/
- node_modules/
- .cache/

**Files**
- *.lock


<h2 id="tree">File Tree</h2>

```
.
├── LICENSE
├── README.md
├── app
│   ├── API
│   │   ├── Routes
│   │   │   ├── InstitutionRoute.php
│   │   │   └── Route.php
│   │   └── ReportsRoutes.php
│   ├── Controllers
│   │   ├── Blocks.php
│   │   ├── PostTypes
│   │   │   ├── ReportsAbstractPostType.php
│   │   │   ├── ReportsQueue.php
│   │   │   └── Reports.php
│   │   ├── PostTypes.php
│   │   └── Render
│   │       ├── ReportsAbstractRender.php
│   │       └── ReportsInterfaceRender.php
│   ├── Core
│   │   ├── ReportsBoot.php
│   │   ├── ReportsConfig.php
│   │   ├── ReportsExport.php
│   │   ├── ReportsFunctions.php
│   │   └── ReportsUtils.php
│   ├── Exceptions
│   ├── Helpers
│   │   └── Helper.php
│   ├── Infrastructure
│   │   ├── Bootstrap.php
│   │   ├── Model.php
│   │   └── Repository.php
│   ├── Model
│   │   └── TestModel.php
│   ├── Repository
│   │   └── TestRepository.php
│   └── Views
│       ├── Admin
│       └── Pages
├── assets
│   ├── blocks
│   │   └── page
│   │       ├── block.json
│   │       ├── edit.jsx
│   │       ├── editor.scss
│   │       ├── index.jsx
│   │       ├── save.jsx
│   │       └── style.scss
│   ├── images
│   │   └── icons
│   ├── scripts
│   │   ├── admin
│   │   │   ├── menus
│   │   │   └── post-types
│   │   │       └── reports
│   │   │           └── index.js
│   │   ├── components
│   │   └── theme
│   └── styles
│       ├── admin
│       │   ├── menus
│       │   └── post-types
│       │       └── reports
│       │           └── index.scss
│       ├── app.css
│       └── theme
│           ├── base
│           ├── components
│           ├── index.scss
│           └── pages
│               └── home
│                   └── index.scss
├── composer.json
├── package.json
├── readme.txt
├── tailwind.config.js
├── casaca.php
└── webpack.config.js
```

