Skip to content

Commit 44e412b

Browse files
committed
Update AGENTS.md
1 parent 053c561 commit 44e412b

File tree

1 file changed

+12
-4
lines changed

1 file changed

+12
-4
lines changed

AGENTS.md

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ npx okai rm Table.d.ts
7777
### Hybrid Development/Production Model
7878

7979
**Development Mode:**
80-
- `dotnet watch` from MyApp starts both .NET (port 5001) and Vite dev server (port 5173)
80+
- `dotnet watch` from MyApp starts .NET (port 5001) and Vite dev server (port 5173), accesible via `https://localhost:5001`
8181
- ASP.NET Core proxies requests to Vite dev server via `NodeProxy` (configured in [Program.cs](MyApp/Program.cs#L41))
8282
- Hot Module Replacement (HMR) enabled via WebSocket proxying using `MapNotFoundToNode`, `MapViteHmr`, `RunNodeProcess`, `MapFallbackToNode` in [Program.cs](MyApp/Program.cs)
8383

@@ -102,8 +102,8 @@ This pattern keeps [Program.cs](MyApp/Program.cs) clean and separates concerns.
102102
### Project Structure
103103

104104
```
105-
MyApp/ # .NET Backend (hosts both .NET and React)
106-
├── Configure.*.cs # Modular AppHost configuration
105+
MyApp/ # .NET Backend (hosts both .NET and Vite React)
106+
├── Configure.*.cs # Modular startup configuration
107107
├── Migrations/ # EF Core Identity migrations + OrmLite app migrations
108108
├── Pages/ # Identity Auth Razor Pages
109109
└── wwwroot/ # Production static files (from MyApp.Client/dist)
@@ -130,6 +130,14 @@ MyApp.ServiceInterface/ # Service implementations
130130
MyApp.Tests/ # .NET tests (NUnit)
131131
├── IntegrationTest.cs # API integration tests
132132
└── MigrationTasks.cs # Migration task runner
133+
134+
config/
135+
└── deploy.yml # Kamal deployment settings
136+
.github/
137+
└── workflows/
138+
├── build.yml # CI build and test
139+
├── build-container.yml # Container image build
140+
└── release.yml # Production deployment with Kamal
133141
```
134142

135143
### Database Architecture
@@ -176,7 +184,7 @@ The response type of an API should be specified in the `IReturn<Response>` marke
176184

177185
By convention, APIs return single results in a `T? Result` property, APIs returns multiple results of the same type in a `List<T> Results` property. Otherwise APIs returning results of different types should use intuitive property names in a flat structured Response DTO for simplicity.
178186

179-
These C# Server DTOs are used to generate TypeScript `dtos.ts`.
187+
These C# Server DTOs are used to generate the TypeScript `dtos.ts`.
180188

181189
#### Validating APIs
182190

0 commit comments

Comments
 (0)