How kinddersonne/workgen works
Project type and purpose
• This is a front-end single-page application (SPA) built with Vite, React and TypeScript.
• It provides a project and task management UI (Kanban board, stats, calendar, etc.).
• Styling and components are powered by Tailwind CSS and shadcn-ui.
File structure
• Top level: package.json, Vite & TypeScript configs, public/ for static assets, src/ for all source code.
• src/main.tsx & index.html: application entry point.
• src/components: reusable UI pieces (Layout, Sidebar, KanbanBoard, TaskCard, etc.) plus a full subfolder of low-level shadcn-ui building blocks.
• src/pages: route-level components (Dashboard, Projects, Tasks, Calendar, Login, Register, etc.).
• src/contexts: React Contexts (AuthContext for authentication state, DataContext for fetching & caching app data).
• src/hooks: custom hooks (use-mobile, use-toast).
• src/lib/utils.ts: shared utility functions.
• tsconfig*, vite.config.ts, postcss.config.js, tailwind.config.ts: build and toolchain configuration.
README for additional insights
• Confirms tech stack (Vite, TypeScript, React, shadcn-ui, Tailwind).
• Hosted and auto-deployed by Lovable.
• No backend code in repo: data comes from an external API (Lovable or custom), managed via DataContext.
Essential architectural elements
• Related components visually (e.g., all shadcn-ui primitives in one cluster).
• Vite build pipeline and Lovable deployment as separate infrastructure steps.