c572af3072b0a40d33125e2690e70a30179ac539
- Create narrator_texts table migration with context/hero_type indexes
- Add NarratorText model with getRandomText() for variant selection
- Add NarratorTextSeeder with 30+ texts for 11 contexts
- Implement vouvoiement (recruteur) vs tutoiement (client/dev)
- Create NarratorController with GET /api/narrator/{context}
- Add useFetchNarratorText composable for frontend
Contexts: intro, transitions, hints, encouragements, contact_unlocked, welcome_back
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Skycel
Portfolio interactif gamifie - Monorepo Nuxt 4 + Laravel 12.
Structure
skycel/
├── frontend/ # Application Nuxt 4 (SSR, TypeScript)
├── api/ # Backend Laravel 12 (API-only)
└── docs/ # Documentation projet
Prerequisites
- Node.js 18+
- PHP 8.2+
- Composer
- MySQL / MariaDB
Getting Started
Frontend
cd frontend
cp .env.example .env
npm install
npm run dev
Backend
cd api
cp .env.example .env
composer install
php artisan key:generate
php artisan serve
Description
Languages
Vue
51.4%
PHP
35.6%
TypeScript
11.7%
CSS
0.8%
JavaScript
0.5%