{"id":29313003,"url":"https://github.com/primaryobjects/business-profile-form","last_synced_at":"2025-07-30T05:04:55.559Z","repository":{"id":301973552,"uuid":"1009245099","full_name":"primaryobjects/business-profile-form","owner":"primaryobjects","description":"Business profile form using Angular 20 and Material UI CSS.","archived":false,"fork":false,"pushed_at":"2025-07-03T22:09:20.000Z","size":1029,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-07-07T09:14:10.575Z","etag":null,"topics":["angular","angular-20","angular-material","angularjs","client-side-validation","csharp","css","dotnet","material-ui","server-side-validation","typescript","vscode"],"latest_commit_sha":null,"homepage":"","language":"HTML","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/primaryobjects.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-06-26T20:14:54.000Z","updated_at":"2025-07-04T14:34:35.000Z","dependencies_parsed_at":"2025-06-29T22:33:22.207Z","dependency_job_id":"efe3c851-0e8b-41cf-819e-1005b2961945","html_url":"https://github.com/primaryobjects/business-profile-form","commit_stats":null,"previous_names":["primaryobjects/business-profile-form"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/primaryobjects/business-profile-form","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/primaryobjects%2Fbusiness-profile-form","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/primaryobjects%2Fbusiness-profile-form/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/primaryobjects%2Fbusiness-profile-form/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/primaryobjects%2Fbusiness-profile-form/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/primaryobjects","download_url":"https://codeload.github.com/primaryobjects/business-profile-form/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/primaryobjects%2Fbusiness-profile-form/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":267814389,"owners_count":24148328,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-07-30T02:00:09.044Z","response_time":70,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["angular","angular-20","angular-material","angularjs","client-side-validation","csharp","css","dotnet","material-ui","server-side-validation","typescript","vscode"],"created_at":"2025-07-07T09:13:55.340Z","updated_at":"2025-07-30T05:04:55.536Z","avatar_url":"https://github.com/primaryobjects.png","language":"HTML","readme":"# Business Application Form Demo\n\nA full-stack business application form demo with **Angular 20** (client) and **ASP.NET Core** (server).\nThis project demonstrates a modern, responsive business profile form with Angular Material UI, advanced CSS, and robust **server-side validation**.\n\n![Angular 20 Business Profile Form](screenshot.png)\n\n---\n\n## Project Overview\n\n- **Purpose:**\n  - Provide a practical example of a business user profile form with real-world validation and full-stack integration.\n\n- **Features:**\n  - Responsive Angular 20 client using Material Design components.\n  - Text fields, dropdowns, radio buttons, and checkboxes.\n  - Custom CSS for clean, maintainable, and responsive design.\n  - **Client-side validation** for required fields and input constraints.\n  - **Server-side validation** using ASP.NET Core data annotations and custom validation attributes.\n  - Clear error messages returned from the server for invalid submissions.\n  - Example of full-stack form handling and validation.\n\n---\n\n## Getting Started\n\n### Prerequisites\n\n- Node.js \u0026 npm\n- .NET 8 SDK (or compatible)\n\n### Running the Client\n\n```bash\ncd client\nng serve\n```\nOpen your browser at [http://localhost:4200/](http://localhost:4200/).\n\n### Running the Server\n\n```bash\ncd server\ndotnet run\n```\nThe API will be available at [http://localhost:5051/api/contact](http://localhost:5051/api/contact).\n\n---\n\n## Building the Project\n\n### Client\n\n```bash\ncd client\nng build\n```\n\n### Server\n\n```bash\ncd server\ndotnet build\n```\n\n## Execution Flowchart\n\n```mermaid\nflowchart TD\n    A[User fills out Business Profile Form] --\u003e B[Client-side Validation]\n    B --\u003e|Valid| C[HTTP POST /api/contact]\n    B --\u003e|Invalid| Z[Show Validation Errors]\n    C --\u003e D[ASP.NET Endpoint ContactController]\n    D --\u003e E[Server-side Validation .NET Data Annotations \u0026 Custom Attributes]\n    E --\u003e|Valid| F[Process Data, Save to DB, Send Email]\n    E --\u003e|Invalid| Y[Return Validation Errors]\n    F --\u003e G[Return Success Response]\n    Y --\u003e H[Client Receives Error Response]\n    G --\u003e I[Client Receives Success Response]\n    H --\u003e J[Show Server Validation Errors]\n    I --\u003e K[Show Success Message]\n```\n\n---\n\n## About\n\nThis project is intended as a reference for developers implementing real-world forms with Angular and ASP.NET Core, demonstrating both client-side and server-side validation, clean CSS, and responsive UI.\n\n---\n\n## License\n\nMIT\n\n## Author\n\nKory Becker\n[http://www.primaryobjects.com/kory-becker](http://www.primaryobjects.com/kory-becker)\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fprimaryobjects%2Fbusiness-profile-form","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fprimaryobjects%2Fbusiness-profile-form","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fprimaryobjects%2Fbusiness-profile-form/lists"}