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: README.md
+24-18Lines changed: 24 additions & 18 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -20,6 +20,10 @@ This project exemplifies the implementation and **dockerization** of a simple Ra
20
20
21
21
---
22
22
23
+

24
+
25
+
---
26
+
23
27
## Running
24
28
25
29
### Development (secrets)
@@ -171,27 +175,29 @@ networks:
171
175
```
172
176
### GraphQL Playground
173
177
174
-
By default **Playground** respond at `http://localhost:5000/ui/playground` but is possible configure the host and many others details in [`../....WebAPI/Graphs/Extensions/DependencyInjection/ApplicationBuilderExtensions.cs`](./src/Dotnet6.GraphQL4.Store.WebAPI/Graphs/Extensions/DependencyInjection/ApplicationBuilderExtensions.cs)
178
+
By default **Playground** respond at `http://localhost:5000/ui/playground` but is possible configure the host and many others details in [`../DependencyInjection/Extensions/ApplicationBuilderExtensions.cs`](./src/Dotnet6.GraphQL4.Store.WebAPI/DependencyInjection/Extensions/ApplicationBuilderExtensions.cs)
175
179
176
180
```c#
177
181
app.UseGraphQLPlayground(
178
-
new GraphQLPlaygroundOptions
179
-
{
180
-
Path = "/ui/playground",
181
-
BetaUpdates = true,
182
-
RequestCredentials = RequestCredentials.Omit,
183
-
HideTracingResponse = false,
184
-
EditorCursorShape = EditorCursorShape.Line,
185
-
EditorTheme = EditorTheme.Dark,
186
-
EditorFontSize = 14,
187
-
EditorReuseHeaders = true,
188
-
EditorFontFamily = "JetBrains Mono"
189
-
});
182
+
options: new()
183
+
{
184
+
BetaUpdates = true,
185
+
RequestCredentials = RequestCredentials.Omit,
186
+
HideTracingResponse = false,
187
+
EditorCursorShape = EditorCursorShape.Line,
188
+
EditorTheme = EditorTheme.Dark,
189
+
EditorFontSize = 14,
190
+
EditorReuseHeaders = true,
191
+
EditorFontFamily = "JetBrains Mono"
192
+
},
193
+
path: "/ui/playground");
190
194
```
191
195
192
196
### Health checks
193
197
194
-
Based on cloud-native concepts, **Readiness** and **Liveness** integrity verification strategies were implemented.
198
+
Based on cloud-native concepts, **Readiness** and **Liveness** integrity verification strategies were implemented.
199
+
200
+
If using [xabarilcoding/healthchecksui](https://github.com/Xabaril/AspNetCore.Diagnostics.HealthChecks/blob/master/doc/ui-docker.md) container image it will responde on `http://localhost:8000/healthchecks-ui/`.
195
201
196
202
> `/health`
197
203
> Just check if the instance is running.
@@ -248,8 +254,8 @@ The implementation of the `UnitOfWork` gives support to the `ExecutionStrategy`
248
254
```c#
249
255
public Task<Review> AddReviewAsync(ReviewModel reviewModel, CancellationToken cancellationToken)
0 commit comments