Application React avec Vite, TypeScript, et backend Appwrite self-hosted
📖 Pour un guide détaillé, consultez QUICKSTART.md
- Backend Appwrite (une seule fois) :
docker run -it --rm \
--volume /var/run/docker.sock:/var/run/docker.sock \
--volume "$(pwd)"/appwrite:/usr/src/code/appwrite:rw \
--entrypoint="install" \
appwrite/appwrite:1.7.4- Démarrer les services :
# Backend Appwrite
cd appwrite && docker-compose up -d
# Frontend (dans un autre terminal)
cd .. && npm install && npm run dev- Accéder à l'application :
- Frontend: http://localhost:5173
- Appwrite Console: http://localhost
npm run dev- Serveur de développement Vitenpm run build- Build de production (TypeScript + Vite)npm run preview- Prévisualisation du buildnpm run format- Formatage avec Biomenpm run lint- Linting avec Biomenpm test- Tests avec Vitestnpm run test:ui- Interface Vitest
- React 19 + TypeScript + Vite
- Styling: TailwindCSS + shadcn/ui
- Testing: Vitest + React Testing Library
- Code Quality: Biome (formatage + linting)
- Dev Server: http://localhost:5173
- Appwrite 1.7.4 self-hosted
- Base de données: MariaDB
- Cache: Redis
- Proxy: Traefik
- Console: http://localhost
- API: http://localhost/v1
cd appwrite
docker-compose up -d # Démarrer
docker-compose down # Arrêter
docker-compose logs -f # Logsnpm run dev # Développement
npm run build # Build production
npm run lint # Vérification code
npm test # Tests- QUICKSTART.md - 🚀 Guide de démarrage rapide
- WARP.md - 🤖 Guide technique pour les agents IA
- Configuration: Voir
.env.examplepour les variables d'environnement