Skip to content

Frontend Architecture

The frontend is a Vue 3 Single Page Application built with Vite 7 and served by a CodeIgniter 4 PHP backend.

Project Structure

frontend/
├── client/                 # Vue 3 SPA
│   ├── index.html
│   └── src/
│       ├── components/     # Reusable UI components
│       ├── composables/    # Vue composition functions (use*)
│       ├── views/          # Page-level components
│       ├── stores/         # Pinia state management
│       ├── services/       # API service layer (Axios)
│       ├── routes/         # Vue Router definitions
│       ├── scss/           # Global styles (Bootstrap + custom)
│       └── utils/          # Utility functions
├── server/                 # CodeIgniter 4 PHP server
│   ├── app/
│   └── public/
├── vite.config.js
├── composer.json
└── package.json

Key Technologies

ConcernLibrary
FrameworkVue 3.5 (Composition API, <script setup>)
BuildVite 7
StatePinia 3 + persisted state plugin
RoutingVue Router 4
ValidationVuelidate 2
StylingBootstrap 5.3 + SCSS
InternationalizationVue I18n 11
HTTP ClientAxios
ChartsHighcharts (highcharts-vue)

Component Patterns

The application uses the Composition API with <script setup> syntax throughout. Reusable logic is extracted into composables (composables/ directory).

INFO

For details on the component library, see Components. For state management patterns, see State Management.

Envia Admin