Initial commit: Family Planner application
Complete family planning application with: - React frontend with TypeScript - Node.js/Express backend with TypeScript - Python ingestion service for document processing - Planning ingestion service with LLM integration - Shared UI components and type definitions - OAuth integration for calendar synchronization - Comprehensive documentation 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
88
START.bat
Normal file
88
START.bat
Normal file
@@ -0,0 +1,88 @@
|
||||
@echo off
|
||||
setlocal enabledelayedexpansion
|
||||
title Family Planner - Demarrage
|
||||
|
||||
echo.
|
||||
echo ╔════════════════════════════════════════════╗
|
||||
echo ║ FAMILY PLANNER - Demarrage ║
|
||||
echo ╚════════════════════════════════════════════╝
|
||||
echo.
|
||||
|
||||
cd /d "%~dp0"
|
||||
|
||||
REM Verification que npm est installe
|
||||
where npm >nul 2>nul
|
||||
if %errorlevel% neq 0 (
|
||||
echo [ERREUR] npm n'est pas installe ou pas dans le PATH
|
||||
echo Installez Node.js depuis https://nodejs.org
|
||||
pause
|
||||
exit /b 1
|
||||
)
|
||||
|
||||
REM Verification que les dossiers existent
|
||||
if not exist "backend" (
|
||||
echo [ERREUR] Le dossier backend n'existe pas
|
||||
pause
|
||||
exit /b 1
|
||||
)
|
||||
|
||||
if not exist "frontend" (
|
||||
echo [ERREUR] Le dossier frontend n'existe pas
|
||||
pause
|
||||
exit /b 1
|
||||
)
|
||||
|
||||
echo [1/5] Arret des serveurs existants...
|
||||
taskkill /F /IM node.exe >nul 2>&1
|
||||
timeout /t 2 /nobreak >nul
|
||||
echo ✓ Serveurs arretes
|
||||
echo.
|
||||
|
||||
echo [2/5] Verification des installations...
|
||||
cd backend
|
||||
if not exist "node_modules" (
|
||||
echo Installation des dependances backend...
|
||||
call npm install >nul 2>&1
|
||||
)
|
||||
cd ..
|
||||
|
||||
cd frontend
|
||||
if not exist "node_modules" (
|
||||
echo Installation des dependances frontend...
|
||||
call npm install >nul 2>&1
|
||||
)
|
||||
cd ..
|
||||
echo ✓ Dependances OK
|
||||
echo.
|
||||
|
||||
echo [3/5] Demarrage du BACKEND (port 5000)...
|
||||
start "Backend API - Family Planner" cmd /k "cd /d "%~dp0backend" && echo Backend Family Planner && echo Port: 5000 && echo. && npm run dev"
|
||||
timeout /t 3 /nobreak >nul
|
||||
echo ✓ Backend demarre
|
||||
echo.
|
||||
|
||||
echo [4/5] Demarrage du FRONTEND (port 5173)...
|
||||
start "Frontend - Family Planner" cmd /k "cd /d "%~dp0frontend" && echo Frontend Family Planner && echo Port: 5173 && echo. && npm run dev"
|
||||
echo ✓ Frontend demarre
|
||||
echo.
|
||||
|
||||
echo [5/5] Attente du demarrage complet...
|
||||
echo Veuillez patienter 30 secondes...
|
||||
timeout /t 5 /nobreak >nul
|
||||
echo.
|
||||
|
||||
echo ╔════════════════════════════════════════════╗
|
||||
echo ║ DEMARRAGE TERMINE ║
|
||||
echo ╠════════════════════════════════════════════╣
|
||||
echo ║ Backend : http://localhost:5000 ║
|
||||
echo ║ Frontend : http://localhost:5173 ║
|
||||
echo ╠════════════════════════════════════════════╣
|
||||
echo ║ Attendez 30 sec puis ouvrez : ║
|
||||
echo ║ http://localhost:5173 ║
|
||||
echo ╠════════════════════════════════════════════╣
|
||||
echo ║ Pour arreter : fermez les 2 fenetres CMD ║
|
||||
echo ║ Ou executez : STOP.bat ║
|
||||
echo ╚════════════════════════════════════════════╝
|
||||
echo.
|
||||
echo Appuyez sur une touche pour fermer cette fenetre...
|
||||
pause >nul
|
||||
Reference in New Issue
Block a user