diff --git a/README.md b/README.md index 5ad1377..70470e7 100644 --- a/README.md +++ b/README.md @@ -1,58 +1,72 @@ -

Laravel Logo

+# CABM-IT -

-Build Status -Total Downloads -Latest Stable Version -License -

+Application de documentation IT pour prestataires infogérants (type ItGlue), permettant de centraliser toutes les informations techniques et administratives des organisations clientes : mots de passe, actifs, documents, contacts, tâches et bien plus. -## About Laravel +Développée avec [Laravel](https://laravel.com), [Livewire](https://livewire.laravel.com)/Volt et [Tailwind CSS](https://tailwindcss.com). -Laravel is a web application framework with expressive, elegant syntax. We believe development must be an enjoyable and creative experience to be truly fulfilling. Laravel takes the pain out of development by easing common tasks used in many web projects, such as: +## Fonctionnalités -- [Simple, fast routing engine](https://laravel.com/docs/routing). -- [Powerful dependency injection container](https://laravel.com/docs/container). -- Multiple back-ends for [session](https://laravel.com/docs/session) and [cache](https://laravel.com/docs/cache) storage. -- Expressive, intuitive [database ORM](https://laravel.com/docs/eloquent). -- Database agnostic [schema migrations](https://laravel.com/docs/migrations). -- [Robust background job processing](https://laravel.com/docs/queues). -- [Real-time event broadcasting](https://laravel.com/docs/broadcasting). +### Organisations -Laravel is accessible, powerful, and provides tools required for large, robust applications. +- Gestion multi-clients avec fiche par organisation (type, statut, description, logo avec recadrage intégré, plages IP autorisées). +- **Tableau de bord** par organisation : compteurs clés, domaines à surveiller (expiration proche), activité récente (créations/modifications), tâches ouvertes, et journal de bord. +- **Journal de bord** : notes libres catégorisées (projet en cours, point d'attention, intervention prévue, information générale) pour le suivi au fil de l'eau. -## Learning Laravel +### Contenu métier -Laravel has the most extensive and thorough [documentation](https://laravel.com/docs) and video tutorial library of all modern web application frameworks, making it a breeze to get started with the framework. +- **Contacts** et **Sites** par organisation. +- **Domaines** avec suivi d'expiration et alertes. +- **Mots de passe** chiffrés, avec journal d'audit. +- **Documents** organisés en arborescence de dossiers (glisser-déposer pour réorganiser) : + - Documents texte simples. + - Documents **Markdown** avec aperçu rendu et aide-mémoire de syntaxe. + - Documents **Office** (Word/Excel) créés ou importés, édités en ligne via **OnlyOffice**. + - Fichiers importés (PDF, TXT, MD) avec visionneuse PDF intégrée. + - Historique de versions sur chaque document. +- **Actifs flexibles** : types d'actifs personnalisables par un administrateur (champs sur mesure : texte, liste déroulante, case à cocher, date, mot de passe, tag, liaison vers un contact/site/domaine/autre actif...). Chaque actif dispose d'un **journal MCO** alimenté automatiquement à chaque modification de champ. +- **Machines virtuelles** : fiche dédiée (rôle, mémoire, CPU, OS) avec journal MCO. +- **ToDo** : tâches par organisation avec catégorie (Infra, Support, Métier, Autre), criticité, échéance et affectation à un technicien ou administrateur ; remontées sur le tableau de bord. +- **Raccourcis** : liens web rapides, globaux (toutes organisations, gérés par un administrateur) ou propres à une organisation. +- **Éléments liés** : liaison libre entre mots de passe, actifs, documents et autres enregistrements pour naviguer rapidement entre informations connexes. -In addition, [Laracasts](https://laracasts.com) contains thousands of video tutorials on a range of topics including Laravel, modern PHP, unit testing, and JavaScript. Boost your skills by digging into our comprehensive video library. +### Utilisateurs et sécurité -You can also watch bite-sized lessons with real-world projects on [Laravel Learn](https://laravel.com/learn), where you will be guided through building a Laravel application from scratch while learning PHP fundamentals. +- Comptes utilisateurs créés uniquement par un administrateur (pas d'auto-inscription). +- Rôles : **Administrateur**, **Technicien**, **Lecture seule**. +- Authentification renforcée : mots de passe, authentification à deux facteurs, passkeys. +- Restriction d'accès par organisation via plages IP autorisées. -## Agentic Development +## Stack technique -Laravel's predictable structure and conventions make it ideal for AI coding agents like Claude Code, Cursor, and GitHub Copilot. Install [Laravel Boost](https://laravel.com/docs/ai) to supercharge your AI workflow: +- **Backend** : Laravel 13, Livewire 4 / Volt, Laravel Fortify (authentification), Spatie Permission (rôles). +- **Frontend** : Tailwind CSS 4, Alpine.js. +- **Édition documentaire** : OnlyOffice Document Server (via Docker). +- **Base de données** : SQLite par défaut (configurable). + +## Installation ```bash -composer require laravel/boost --dev +composer install +npm install -php artisan boost:install +cp .env.example .env +php artisan key:generate + +php artisan migrate --seed +php artisan storage:link + +npm run build +php artisan serve ``` -Boost provides your agent 15+ tools and skills that help agents build Laravel applications while following best practices. +Un compte administrateur est créé par le seeder par défaut (voir `database/seeders/DatabaseSeeder.php`). -## Contributing +### OnlyOffice (édition de documents Word/Excel) -Thank you for considering contributing to the Laravel framework! The contribution guide can be found in the [Laravel documentation](https://laravel.com/docs/contributions). +L'édition en ligne des documents Office nécessite une instance OnlyOffice Document Server. Un exemple de configuration est fourni dans `docker-compose.yml`. Voir `config/onlyoffice.php` pour les variables d'environnement associées (`ONLYOFFICE_DS_URL`, `ONLYOFFICE_CALLBACK_BASE_URL`, `ONLYOFFICE_JWT_SECRET`). -## Code of Conduct +## Tests -In order to ensure that the Laravel community is welcoming to all, please review and abide by the [Code of Conduct](https://laravel.com/docs/contributions#code-of-conduct). - -## Security Vulnerabilities - -If you discover a security vulnerability within Laravel, please send an e-mail to Taylor Otwell via [taylor@laravel.com](mailto:taylor@laravel.com). All security vulnerabilities will be promptly addressed. - -## License - -The Laravel framework is open-sourced software licensed under the [MIT license](https://opensource.org/licenses/MIT). +```bash +php artisan test +```