Files
pos-system/apps/web-client-tpos-net/docs/en/README.md
Ho Ngoc Hai d0211e5a3c docs: full documentation audit — update 7 files, create MCP SERVICE_DOCS
Project-level docs:
- README.md: rewrite with correct tech stack (.NET 10/Blazor, not Node.js/Flutter)
- ROADMAP.md: add MCP server, shop lifecycle, onboarding redesign, POS nav fix
- CLAUDE.md: add goodgo-mcp-server to project structure
- CTO_REPORT_SHOP_DELETE.md: status OPEN → RESOLVED (implemented in 6263eeb)

MCP Server docs:
- SERVICE_DOCS.md: new file — 12 tools reference, architecture, setup guide

Frontend docs:
- web-client-tpos-net README: fix wrong paths (web-client-base-net → web-client-tpos-net)
- web-client-tpos-net docs/en/README: same path fix

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-20 16:46:15 +07:00

66 lines
1.3 KiB
Markdown

# WebClientTpos
Base frontend application cho GoodGo Platform.
## Quick Start
```bash
# Navigate to project
cd apps/web-client-tpos-net
# Restore packages
dotnet restore
# Run BFF server
dotnet run --project src/WebClientTpos.Server
# Open browser at http://localhost:5091
```
## Tech Stack
| Component | Technology |
|-----------|------------|
| Client | Blazor WebAssembly (.NET 10) |
| BFF | ASP.NET Core + YARP |
| Shared | Class Library with Data Annotations |
| Styling | CSS Variables, Dark Mode |
## Project Structure
```
src/
├── WebClientTpos.Client/ # Blazor WASM frontend
├── WebClientTpos.Server/ # BFF with YARP proxy
└── WebClientTpos.Shared/ # Shared DTOs
```
## Features
- ✅ BFF Pattern with YARP reverse proxy
- ✅ Shared validation (Client + Server)
- ✅ Dark/Light mode support
- ✅ Glassmorphism UI design
- ✅ Health check endpoint `/health`
## Configuration
YARP proxy routes in `yarp.json`:
```json
{
"ReverseProxy": {
"Routes": {
"iam-route": { "Match": { "Path": "/api/iam/{**catch-all}" } }
},
"Clusters": {
"iam-cluster": { "Destinations": { "d1": { "Address": "http://localhost:5101" } } }
}
}
}
```
## Related Documentation
- [Architecture](ARCHITECTURE.md) - System architecture details