Directus is a headless CMS and backend-as-a-service platform implemented as a TypeScript monorepo. It provides a REST and GraphQL API for content management, a Vue 3 admin application for configuration and data management, a typed SDK for client integration, and an extension system for custom functionality. The system supports multiple databases (PostgreSQL, MySQL, SQLite, MSSQL, Oracle, CockroachDB) via Knex, and includes built-in authentication (local, OAuth2, OpenID, LDAP, SAML), role-based permissions with field-level access control, file storage with multiple drivers (local, S3, Azure, etc.), and a flows automation engine. Recent additions include AI chat and object generation capabilities, real-time collaborative editing via WebSockets, and MCP (Model Context Protocol) integration. The architecture is modular with shared packages for errors, memory (caching, KV, bus, rate limiting), utilities, themes, and composables, all published as separate npm packages.
This repository is a Vue 3 single-page application simulating net income and taxes for freelancers in Portugal. It features a form for inputting income and various tax-related parameters, a dashboard displaying calculated results with charts and tables, and functionality to save and load simulations. The application uses Pinia for state management, Vue Router for navigation, and Tailwind CSS for styling. Key architectural elements include a centralized store handling complex tax calculations, reusable UI components like adjustable counters and formatted inputs, and URL parameter synchronization for shareable links.