How tokhalyok/crud_2 works
CRUD Project is a product-catalog application: a user works with products in the Angular client, which sends list, create, update, and delete requests to an ASP.NET API; the API persists product records through Entity Framework Core to PostgreSQL. The README documents the client, API, and PostgreSQL setup. The page template and component implementation were not sampled, so the UI-to-service relationship reflects the product workflow and available service/page paths; no finer UI interaction details are inferred.
Main entry points: AppDbContext.cs EF Core context · products Products page · app.ts Root app · app.routes.ts App routes
Components 11
Angular client
- Client bootstrap
ProductApp/product-client/src/main.ts - Root app
ProductApp/product-client/src/app/app.ts - App routes
ProductApp/product-client/src/app/app.routes.ts - Products page
ProductApp/product-client/src/app/pages/products - Product service
ProductApp/product-client/src/app/pages/products/services/product.service.ts
Product API
- ASP.NET API
ProductApp/ProductApi/Program.cs - Products controller
ProductApp/ProductApi/Controllers/ProductsController.cs
Product persistence
- Product model
ProductApp/ProductApi/Models/Product.cs - EF Core context
ProductApp/ProductApi/Data/AppDbContext.cs - PostgreSQL
Other components
- User
Connections 10
- User → Products page: manages products
- Client bootstrap → Root app: bootstraps
- Root app → App routes: hosts routes
- App routes → Products page: routes to
- Products page → Product service: requests CRUD
- Product service → ASP.NET API: HTTP CRUD
- ASP.NET API → Products controller: dispatches requests
- Products controller → EF Core context: queries and saves
- EF Core context → Product model: maps entity
- EF Core context → PostgreSQL: reads and writes