-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathloadpath.yml.example
More file actions
36 lines (36 loc) · 975 Bytes
/
Copy pathloadpath.yml.example
File metadata and controls
36 lines (36 loc) · 975 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
# Loadpath architecture manifest
contexts:
billing:
django_apps: [billing]
react: [frontend/src/features/billing]
public_api:
- "GET /api/invoices"
- "POST /api/invoices"
- "GET /api/invoices/{id}"
owners: [billing-team]
identity:
django_apps: [accounts]
react: [frontend/src/features/auth]
public_api:
- "POST /api/login"
- "GET /api/me"
owners: [identity-team]
layers:
django: [route, view, service, model]
react: [route, page, feature, shared]
rules:
- views_cannot_import_other_context_models
- react_feature_may_only_call_own_or_shared_api
- serializers_are_the_only_published_contract
- no_queryset_in_serializer
- celery_tasks_must_be_idempotent_on_model_pk
- queryset_nplusone
- queryset_missing_index
- cascade_crosses_context
- migration_blast_radius
- leaked_seam
- tests_bypass_interface
django_root: backend
react_root: frontend/src
openapi_paths: []
boot_django: false