feat: Add Company and Website fields to the Client model and frontend form
The Problem In the current implementation, the Client entity only supports basic fields such as name, email, phone, and address. For a professional ERP/CRM system, capturing business-related details like the Company Name and the Official Website is essential for better lead management and organization.
Proposed Enhancement I would like to contribute by expanding the Client entity to include these two new data points throughout the full stack:
Backend (Database): Update the Mongoose Client schema to include company and website fields. API Validation: Add validation rules for these new fields (including URI format check for the website). Frontend (UI): Add corresponding input fields to the ClientForm component so users can enter this data during creation and updates. Why this is useful? This improvement makes the CRM more functional for B2B use cases, allowing users to categorize clients by their organizations and perform quick research via their websites.
I would like to work on this! I have already set up the project locally and I'm ready to implement these changes. Please assign this to me, and I will submit a PR shortly.
Source: idurar/idurar-erp-crm