How narnagas/enterprise-fullstack-reference works
This is an Angular and ASP.NET Core project-operations reference app. Users navigate to Projects or Customers, search and page through results, select a row to load its detail, edit and save it, then refresh the search. The API separates routing, search/edit services, and EF Core persistence; SQL Server is configured as the store. Customer and project API paths are shown as separate domain stages. Several client and project-editor details are documented but their source was not sampled, so those links are based on the README; unsampled implementation specifics are not inferred.
Main entry points: CustomersController.cs Customers controller · ApplicationDbContext.cs EF Core context · ProjectsController.cs Projects controller · app.routes.ts Workspace routes
Components 18
Angular client
- App shell
client/src/app/app.component.ts - Workspace routes
client/src/app/app.routes.ts - Project search and editor
client/src/app/features/projects/project-search.component.ts - Project HTTP service
client/src/app/features/projects/project.service.ts - Customer search and editor
client/src/app/features/customers/customer-search.component.ts - Customer HTTP service
client/src/app/features/customers/customer.service.ts - Auth interceptor
client/src/app/core/auth/reference-auth.interceptor.ts
REST API
- Projects controller
server/EnterpriseFullStackReference.Api/Controllers/ProjectsController.cs - Customers controller
server/EnterpriseFullStackReference.Api/Controllers/CustomersController.cs - Exception handling
server/EnterpriseFullStackReference.Api/Infrastructure/GlobalExceptionHandler.cs
Search and editing
- Project search
server/EnterpriseFullStackReference.Api/Services/ProjectSearchService.cs - Project editing
server/EnterpriseFullStackReference.Api/Services/ProjectEditorService.cs - Customer search
server/EnterpriseFullStackReference.Api/Services/CustomerSearchService.cs - Customer editing
server/EnterpriseFullStackReference.Api/Services/CustomerEditorService.cs
Persistence and security
- EF Core context
server/EnterpriseFullStackReference.Api/Data/ApplicationDbContext.cs - SQL Server
- API security
server/EnterpriseFullStackReference.Api/Security/ReferenceHeaderAuthenticationHandler.cs
Other components
- Workspace user
Connections 22
- Workspace user → App shell: uses
README.md - App shell → Workspace routes: navigates
client/src/app/app.component.ts - Workspace routes → Project search and editor: routes to
client/src/app/app.routes.ts - Workspace routes → Customer search and editor: routes to
client/src/app/app.routes.ts - Project search and editor → Project HTTP service: requests
README.md - Customer search and editor → Customer HTTP service: requests
README.md - Project HTTP service → Projects controller: HTTPS JSON
README.md - Customer HTTP service → Customers controller: HTTPS JSON
README.md - Auth interceptor → Project HTTP service: intercepts
- Auth interceptor → Customer HTTP service: intercepts
- Projects controller → Project search: dispatches search
- Projects controller → Project editing: dispatches edits
- Customers controller → Customer search: dispatches search
server/EnterpriseFullStackReference.Api/Controllers/CustomersController.cs - Customers controller → Customer editing: dispatches edits
server/EnterpriseFullStackReference.Api/Controllers/CustomersController.cs - Project search → EF Core context: queries
server/EnterpriseFullStackReference.Api/Services/ProjectSearchService.cs - Customer search → EF Core context: queries
server/EnterpriseFullStackReference.Api/Services/CustomerSearchService.cs - Customer editing → EF Core context: reads and saves
server/EnterpriseFullStackReference.Api/Services/CustomerEditorService.cs - Project editing → EF Core context: reads and saves
server/EnterpriseFullStackReference.Api/Services/ProjectEditorService.cs - EF Core context → SQL Server: persists via EF
- Projects controller → API security: authorizes
server/EnterpriseFullStackReference.Api/Controllers/ProjectsController.cs - Customers controller → API security: authorizes
server/EnterpriseFullStackReference.Api/Controllers/CustomersController.cs - Exception handling → Customers controller: handles failures