4 Commits

Author SHA1 Message Date
91b44e06ad fix: remove backend health check to prevent 404 errors
- Remove unnecessary backend connectivity check in Layout component
- Simplify Layout component by removing unused imports and state
- Application now works seamlessly in demo mode without backend errors
- Clean console output without 404 errors on startup
2025-09-10 18:27:11 +02:00
0b14fbe6b7 feat: add graceful error handling and demo mode
- Add fallback data for all API endpoints when backend is unavailable
- Implement demo mode with realistic sample data for all views
- Add notification to inform users when running in demo mode
- Improve error handling with try-catch blocks in API services
- Add backend connectivity check in Layout component
- Provide seamless user experience even without backend connection
2025-09-10 18:17:08 +02:00
0bb4ea6678 feat: complete UI implementation with Material-UI and full functionality
- Add complete TypeScript types for all document entities
- Implement Redux store with document slice and async thunks
- Create comprehensive API services layer with external integrations
- Build complete UI views with Material-UI components:
  * UploadView: drag&drop with file preview and status
  * ExtractionView: structured data display (identities, addresses, properties, contracts)
  * AnalyseView: CNI verification, credibility scoring, recommendations
  * ContexteView: external data sources (Cadastre, Géorisques, BODACC, etc.)
  * ConseilView: LLM analysis with risks and next steps
- Add Layout component with navigation tabs
- Configure environment variables for backend integration
- Fix all TypeScript compilation errors
- Replace Grid with Box for better compatibility
- Add comprehensive error handling and loading states
2025-09-10 17:50:42 +02:00
c2eba34f57 feat: add Redux store, React Router, code splitting, views skeleton, API services
- Redux Toolkit store with app slice
- React Router with lazy loading (Upload, Extraction, Analyse, Contexte, Conseil)
- API services layer with axios client
- View components skeleton for all main features
- Code splitting with React.lazy and Suspense
2025-09-10 17:37:17 +02:00