Files
talk/DESIGN.md
T
Wyatt Johnson fa57c72842 linting + initial mutation
- added tslint
- mutation support
2018-06-25 14:32:01 -06:00

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