How masked-kunsiquat/crm works
Project Type and Purpose
• This project is a self-hosted CRM meant for personal or small business use.
• It offers a full-stack architecture where the frontend is built using React 18, TypeScript, and Vite, while the backend is powered by PocketBase (which uses SQLite for storage).
• Key features include hierarchical data management (organizations, accounts, subaccounts), audit management with a unique floor matrix visualization, and built-in authentication via PocketBase.
File Structure
• Notice the distinct directories:
• The “crm” folder contains the entire frontend codebase, including subdirectories for src (with API hooks, pages, components, utilities) following modern React design patterns (e.g., modular features like accounts, audits, contacts, organizations, and subaccounts).
• The “backend” folder holds PocketBase binaries and a series of migration scripts under pb_migrations which indicate schema evolution and database updates.
• The presence of a “misc_work” directory, with generator scripts and auxiliary tools, implies additional components that aid data conversion and report generation.
• Configuration, environment (e.g. .env), and build tooling files (like vite.config.ts, tailwind.config.js) are located clearly to denote separation of concerns between development environment and production.