You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: AGENTS.md
+12-4Lines changed: 12 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -77,7 +77,7 @@ npx okai rm Table.d.ts
77
77
### Hybrid Development/Production Model
78
78
79
79
**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`
81
81
- ASP.NET Core proxies requests to Vite dev server via `NodeProxy` (configured in [Program.cs](MyApp/Program.cs#L41))
82
82
- Hot Module Replacement (HMR) enabled via WebSocket proxying using `MapNotFoundToNode`, `MapViteHmr`, `RunNodeProcess`, `MapFallbackToNode` in [Program.cs](MyApp/Program.cs)
83
83
@@ -102,8 +102,8 @@ This pattern keeps [Program.cs](MyApp/Program.cs) clean and separates concerns.
└── wwwroot/ # Production static files (from MyApp.Client/dist)
@@ -130,6 +130,14 @@ MyApp.ServiceInterface/ # Service implementations
130
130
MyApp.Tests/ # .NET tests (NUnit)
131
131
├── IntegrationTest.cs # API integration tests
132
132
└── 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
133
141
```
134
142
135
143
### Database Architecture
@@ -176,7 +184,7 @@ The response type of an API should be specified in the `IReturn<Response>` marke
176
184
177
185
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.
178
186
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`.
0 commit comments