Octopus-React-Wp/frontend
2026-06-22 10:45:58 +02:00
..
public mise a jour structure SEO 2025-11-05 01:08:39 +01:00
scripts mise a jour structure SEO 2025-11-05 01:08:39 +01:00
src refactor: remove Bilans component and related styles to clean up project structure 2026-06-22 10:45:58 +02:00
.env.local.example mise a jour structure visuel BO 2025-11-06 11:28:07 +01:00
.gitignore feat: integrate Moodle API services, add RichTextEditor component, and configure environment variables for course management. 2026-04-09 16:37:09 +02:00
.htaccess add function creatPost and login wp 2025-01-31 08:22:48 +01:00
eslint.config.js first update 2025-01-02 13:39:40 +01:00
index.html mise a jour structure SEO 2025-11-05 01:08:39 +01:00
package-lock.json feat: integrate Moodle API services, add RichTextEditor component, and configure environment variables for course management. 2026-04-09 16:37:09 +02:00
package.json feat: integrate Moodle API services, add RichTextEditor component, and configure environment variables for course management. 2026-04-09 16:37:09 +02:00
postcss.config.cjs first update 2025-01-02 13:39:40 +01:00
README.md feat: integrate Moodle API services, add RichTextEditor component, and configure environment variables for course management. 2026-04-09 16:37:09 +02:00
stats.html refactor: remove Bilans component and related styles to clean up project structure 2026-06-22 10:45:58 +02:00
vite.config.js MAJ 18022024 2025-02-18 18:35:24 +01:00

React + Vite

This template provides a minimal setup to get React working in Vite with HMR and some ESLint rules.

Currently, two official plugins are available:

Configuration Moodle

Les écrans d'administration (liste de cours, gestion des chapitres et lecture sécurisée) consomment l'API REST de Moodle.
Avant de lancer le projet :

  1. Copiez frontend/.env.example vers frontend/.env.local.
  2. Renseignez vos propres valeurs pour :
VITE_MOODLE_API_URL=https://votre-instance/webservice/rest/server.php
VITE_MOODLE_TOKEN=token_personnel

Ne versionnez jamais votre token : .env est ignoré par Git.

Ensuite vous pouvez lancer l'application avec npm install && npm run dev depuis le dossier frontend.