How inam003/medishop works
MediShop is an ASP.NET Core medicine storefront with customer shopping and ordering, plus administrator catalog, supplier, fulfillment, customer, dashboard, and reporting functions. The main customer flow is browse medicines → manage a cart → place an order → view confirmation and order history; administrators complete and deliver orders, with completion reducing stock. The graph includes the EF Core persistence layer and Identity setup. The README provides only test-user credentials, so features and wiring are inferred from the tree and sampled controllers; unsampled subsystem links are omitted where behavior is uncertain.
Main entry points: Program.cs Web application · ApplicationDbContext.cs EF Core context · Controllers/HomeController.cs Admin dashboard · Controllers/HomeController.cs Medicine browsing
Components 18
Customer storefront
- Medicine browsing
MediShop/Areas/Customer/Controllers/HomeController.cs - Shopping cart
MediShop/Areas/Customer/Controllers/CartController.cs - Checkout and orders
MediShop/Areas/Customer/Controllers/OrdersController.cs
Administration
- Medicine catalog
MediShop/Areas/Admin/Controllers/MedicinesController.cs - Supplier management
MediShop/Areas/Admin/Controllers/SuppliersController.cs - Order fulfillment
MediShop/Areas/Admin/Controllers/OrdersController.cs - Customer administration
MediShop/Areas/Admin/Controllers/CustomersController.cs - Admin dashboard
MediShop/Areas/Admin/Controllers/HomeController.cs - Sales and stock reports
MediShop/Areas/Admin/Controllers/ReportsController.cs
Identity
- Account and login
MediShop/Areas/Identity/Pages - Email sender
MediShop.Utility/EmailSender.cs
Application and data
- Web application
MediShop/Program.cs - EF Core context
MediShop.DataAccess/Data/ApplicationDbContext.cs - Commerce and user models
MediShop.Model
Other components
- Customer
- Administrator
- SQL database
- Email service
Connections 28
- Customer → Web application: uses
- Administrator → Web application: uses
- Web application → Medicine browsing: routes
- Web application → Shopping cart: routes
- Web application → Checkout and orders: routes
- Web application → Medicine catalog: routes
- Web application → Supplier management: routes
- Web application → Order fulfillment: routes
- Web application → Customer administration: routes
- Web application → Admin dashboard: routes
- Web application → Sales and stock reports: routes
- Web application → Account and login: maps pages
- Web application → EF Core context: registers
- Medicine browsing → EF Core context: queries
- Shopping cart → EF Core context: reads and writes
- Checkout and orders → EF Core context: reads and writes
- Medicine catalog → EF Core context: reads and writes
- Supplier management → EF Core context: reads and writes
- Order fulfillment → EF Core context: reads and writes
- Customer administration → Web application: uses Identity
- Admin dashboard → EF Core context: queries
- Admin dashboard → Web application: queries Identity
- Sales and stock reports → EF Core context: queries
- Account and login → Web application: uses Identity
- Web application → Email sender: registers sender
- Email sender → Email service: sends email
- EF Core context → SQL database: reads and writes
- EF Core context → Commerce and user models: maps entities