This repository was archived by the owner on May 20, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +10
-5
lines changed Expand file tree Collapse file tree 2 files changed +10
-5
lines changed Original file line number Diff line number Diff line change @@ -12,10 +12,13 @@ Nitric has built-in support for web apps and HTTP API development. The `api` res
12
12
graph LR;
13
13
classDef default line-height:1.2;
14
14
15
- A[Api]-->B[Service A];
16
- A-->C[Service B];
15
+ A(Admin Api)-->B(Service A);
16
+ A-->C(Service B);
17
+ D(Public Api)-->B(Service A)
17
18
```
18
19
20
+ > An API can route to many nitric services, and services can handle many APIs.
21
+
19
22
## Creating APIs
20
23
21
24
Nitric allows you define named APIs, each with their own routes, middleware, handlers and security.
Original file line number Diff line number Diff line change @@ -11,11 +11,13 @@ export const remarkPlugins = [
11
11
output : 'svg' ,
12
12
mermaid : {
13
13
theme : 'base' ,
14
+ // TODO: Relocate theme config
14
15
themeVariables : {
15
- primaryColor : '#ff0000' ,
16
- secondaryColor : '#00ff00' ,
16
+ primaryColor : '#242037' ,
17
+ lineColor : '#cad3f5' ,
18
+ secondaryColor : '#42424a' ,
17
19
tertiaryColor : '#0000ff' ,
18
- textColor : '#000000 ' ,
20
+ primaryTextColor : '#cad3f5 ' ,
19
21
fontSize : '14px' ,
20
22
fontFamily : 'Fira Code, monospace' ,
21
23
} ,
You can’t perform that action at this time.
0 commit comments