How alexcl0320/gestion_documental works
Project type and purpose
• The “src/app” directory contains React/Next.js pages and layouts, indicating an SSR/CSR frontend.
• The “src/backend” folder holds AI-related TypeScript functions (e.g., flows, generation scripts) and a database migration, implying serverless or function-based backend APIs plus a relational database.
File structure
• Top-level directories:
• src/app – Next.js 13+ app directory with page.tsx routes
• src/components – UI components (compliance charts, tables, forms, layout, generic UI library)
• src/context, src/hooks – React context and custom hooks for auth, compliance data, toasts
• src/backend – AI micro-services (flows, dev harness) and database migrations
• src/lib – shared utilities and placeholder data
• Config files:
• next.config.* – Next.js configuration
• tailwind.config.ts, postcss.config.mjs – styling setup with Tailwind CSS
• apphosting.yaml – Firebase hosting/deployment descriptor
• package.json, tsconfig.json – dependencies and TypeScript setup
Key insights from README
• It’s a Next.js starter project integrated with Firebase, designed to demonstrate hosting and basic features (“take a look at src/app/page.tsx”).