mirror of
https://github.com/wassname/talk.git
synced 2026-07-03 06:20:19 +08:00
fa57c72842
- added tslint - mutation support
33 lines
530 B
Markdown
33 lines
530 B
Markdown
# Design
|
|
|
|
## HTTP Routes
|
|
|
|
### Stream API
|
|
|
|
/api/tenant/graphql
|
|
/api/tenant/auth
|
|
|
|
### Tenant Management API
|
|
|
|
/api/management/graphql
|
|
/api/management/auth
|
|
|
|
## Folder structure
|
|
|
|
```text
|
|
/graph/tenant <-- tenant's api (comments, assets, ...)
|
|
/graph/management <-- tenant management api
|
|
```
|
|
|
|
1. No tenants
|
|
2. Create a tenant <-- consuming the TMA
|
|
|
|
## Database connections
|
|
|
|
### Redis Clients
|
|
|
|
1. Tenant RedisPubSub Subscriber
|
|
2. Tenant RedisPubSub Publisher
|
|
3. Management RedisPubSub Subscriber
|
|
4. Management RedisPubSub Publisher
|