How bryanvillanueva/chatboot-ecaf-frontend works
Project type and purpose
• This is a single-page application (SPA) built with Create React App.
• It provides a UI for uploading Excel files (students, programs, grades, diplomas), consulting and generating certificates, chat, dashboards, and vector store management.
• It communicates with one or more backend REST APIs (certificateService, diplomaService, etc.).
File structure
Top-level:
• public/ – static assets (HTML template, manifest, fonts, images, CSV/XLS templates).
• src/ – all React source code.
• package.json, package-lock.json – dependencies and scripts.
Inside src/:
• index.js & App.js – application entry point and root component.
• components/ – shared UI components (Navbar, Layout, NotificationSystem, AudioPlayer).
• pages/ – route-level views (Login, Dashboard, Chat, Appointments, VectorStoreManager).
• carga/ – “upload” feature modules: CargaExcelBase, Uploader components, page wrappers, and an API helper.
• certificados/ – certificate consultation/generation pages.
• informacion/ – student/program info pages.
• services/ – thin HTTP client wrappers for each backend endpoint (certificateService.js, diplomaService.js, etc.).
• styles/ – theme definitions.
• tests & setupTests.js – unit testing support.
README for additional insights
• It’s a standard CRA project with no custom architectural docs.
• Build & dev scripts, deployment pointers.