Explore / wild-workouts-go-ddd-example · default branch, updated
wild-workouts-go-ddd-example
Everything is in step. 13 elements, 6 open PRs.Services
Data
Services
trainerGo · chi · gRPC
trainer-httpbuilt from a Dockerfile
trainingsGo · chi
trainings-httpbuilt from a Dockerfile
usersGo · chi
users-httpbuilt from a Dockerfile
mysqlmariadb:10
firestorebuilt from a Dockerfile, or Firestore
trainer-grpcbuilt from a Dockerfile
users-grpcbuilt from a Dockerfile
service
service · wild-workouts-go-ddd-exampleCloud Run- Plan
- ✓ in the spec · model.c4:7
- Code
- ✓ Cloud Run · service.tf:14
- Live
- — not traced
Talks to
Nothing in the spec, the code or traces.Show its neighboursNo open PR touches it
web
service · wild-workouts-go-ddd-exampleJavaScript- Plan
- ✓ in the spec · model.c4:13
- Code
- ✓ 51 files in web/** · package.json:1
- Live
- — no traces as web in 7 days
Talks to
Nothing in the spec, the code or traces.trainer-http
service · wild-workouts-go-ddd-examplebuilt from a Dockerfile- Plan
- ✓ in the spec · model.c4:21
- Code
- ✓ built from a Dockerfile · docker-compose.yml:14
- Live
- — no traces as trainer-http in 7 days
Talks to
uses firestore
In the spec and in the code: docker-compose.yml:14 · env.FIRESTORE_EMULATOR_HOST.
In the spec and in the code: docker-compose.yml:14 · env.FIRESTORE_EMULATOR_HOST.
calls trainer-grpc
In the spec and in the code: docker-compose.yml:14 · env.TRAINER_GRPC_ADDR.
In the spec and in the code: docker-compose.yml:14 · env.TRAINER_GRPC_ADDR.
calls users-grpc
In the spec and in the code: docker-compose.yml:14 · env.USERS_GRPC_ADDR.
In the spec and in the code: docker-compose.yml:14 · env.USERS_GRPC_ADDR.
Show its neighboursNo open PR touches it
trainer-grpc
service · wild-workouts-go-ddd-examplebuilt from a Dockerfile- Plan
- ✓ in the spec · model.c4:28
- Code
- ✓ built from a Dockerfile · docker-compose.yml:34
- Live
- — no traces as trainer-grpc in 7 days
Talks to
called by trainer-http
In the spec and in the code: docker-compose.yml:14 · env.TRAINER_GRPC_ADDR.
In the spec and in the code: docker-compose.yml:14 · env.TRAINER_GRPC_ADDR.
uses firestore
In the spec and in the code: docker-compose.yml:34 · env.FIRESTORE_EMULATOR_HOST.
In the spec and in the code: docker-compose.yml:34 · env.FIRESTORE_EMULATOR_HOST.
calls users-grpc
In the spec and in the code: docker-compose.yml:34 · env.USERS_GRPC_ADDR.
In the spec and in the code: docker-compose.yml:34 · env.USERS_GRPC_ADDR.
called by trainings-http
In the spec and in the code: docker-compose.yml:54 · env.TRAINER_GRPC_ADDR.
In the spec and in the code: docker-compose.yml:54 · env.TRAINER_GRPC_ADDR.
called by users-http
In the spec and in the code: docker-compose.yml:73 · env.TRAINER_GRPC_ADDR.
In the spec and in the code: docker-compose.yml:73 · env.TRAINER_GRPC_ADDR.
called by users-grpc
In the spec and in the code: docker-compose.yml:93 · env.TRAINER_GRPC_ADDR.
In the spec and in the code: docker-compose.yml:93 · env.TRAINER_GRPC_ADDR.
called by firestore
In the spec and in the code: docker-compose.yml:113 · env.TRAINER_GRPC_ADDR.
In the spec and in the code: docker-compose.yml:113 · env.TRAINER_GRPC_ADDR.
called by mysql
In the spec and in the code: docker-compose.yml:132 · env.TRAINER_GRPC_ADDR.
In the spec and in the code: docker-compose.yml:132 · env.TRAINER_GRPC_ADDR.
called by common
In the spec and in the code: internal/common/client/grpc.go:19 · env.TRAINER_GRPC_ADDR.
In the spec and in the code: internal/common/client/grpc.go:19 · env.TRAINER_GRPC_ADDR.
Show its neighboursNo open PR touches it
trainings-http
service · wild-workouts-go-ddd-examplebuilt from a Dockerfile- Plan
- ✓ in the spec · model.c4:35
- Code
- ✓ built from a Dockerfile · docker-compose.yml:54
- Live
- — no traces as trainings-http in 7 days
Talks to
uses firestore
In the spec and in the code: docker-compose.yml:54 · env.FIRESTORE_EMULATOR_HOST.
In the spec and in the code: docker-compose.yml:54 · env.FIRESTORE_EMULATOR_HOST.
calls trainer-grpc
In the spec and in the code: docker-compose.yml:54 · env.TRAINER_GRPC_ADDR.
In the spec and in the code: docker-compose.yml:54 · env.TRAINER_GRPC_ADDR.
calls users-grpc
In the spec and in the code: docker-compose.yml:54 · env.USERS_GRPC_ADDR.
In the spec and in the code: docker-compose.yml:54 · env.USERS_GRPC_ADDR.
Show its neighboursNo open PR touches it
users-http
service · wild-workouts-go-ddd-examplebuilt from a Dockerfile- Plan
- ✓ in the spec · model.c4:42
- Code
- ✓ built from a Dockerfile · docker-compose.yml:73
- Live
- — no traces as users-http in 7 days
Talks to
uses firestore
In the spec and in the code: docker-compose.yml:73 · env.FIRESTORE_EMULATOR_HOST.
In the spec and in the code: docker-compose.yml:73 · env.FIRESTORE_EMULATOR_HOST.
calls trainer-grpc
In the spec and in the code: docker-compose.yml:73 · env.TRAINER_GRPC_ADDR.
In the spec and in the code: docker-compose.yml:73 · env.TRAINER_GRPC_ADDR.
calls users-grpc
In the spec and in the code: docker-compose.yml:73 · env.USERS_GRPC_ADDR.
In the spec and in the code: docker-compose.yml:73 · env.USERS_GRPC_ADDR.
Show its neighboursNo open PR touches it
users-grpc
service · wild-workouts-go-ddd-examplebuilt from a Dockerfile- Plan
- ✓ in the spec · model.c4:49
- Code
- ✓ built from a Dockerfile · docker-compose.yml:93
- Live
- — no traces as users-grpc in 7 days
Talks to
called by trainer-http
In the spec and in the code: docker-compose.yml:14 · env.USERS_GRPC_ADDR.
In the spec and in the code: docker-compose.yml:14 · env.USERS_GRPC_ADDR.
called by trainer-grpc
In the spec and in the code: docker-compose.yml:34 · env.USERS_GRPC_ADDR.
In the spec and in the code: docker-compose.yml:34 · env.USERS_GRPC_ADDR.
called by trainings-http
In the spec and in the code: docker-compose.yml:54 · env.USERS_GRPC_ADDR.
In the spec and in the code: docker-compose.yml:54 · env.USERS_GRPC_ADDR.
called by users-http
In the spec and in the code: docker-compose.yml:73 · env.USERS_GRPC_ADDR.
In the spec and in the code: docker-compose.yml:73 · env.USERS_GRPC_ADDR.
uses firestore
In the spec and in the code: docker-compose.yml:93 · env.FIRESTORE_EMULATOR_HOST.
In the spec and in the code: docker-compose.yml:93 · env.FIRESTORE_EMULATOR_HOST.
calls trainer-grpc
In the spec and in the code: docker-compose.yml:93 · env.TRAINER_GRPC_ADDR.
In the spec and in the code: docker-compose.yml:93 · env.TRAINER_GRPC_ADDR.
called by firestore
In the spec and in the code: docker-compose.yml:113 · env.USERS_GRPC_ADDR.
In the spec and in the code: docker-compose.yml:113 · env.USERS_GRPC_ADDR.
called by mysql
In the spec and in the code: docker-compose.yml:132 · env.USERS_GRPC_ADDR.
In the spec and in the code: docker-compose.yml:132 · env.USERS_GRPC_ADDR.
called by common
In the spec and in the code: internal/common/client/grpc.go:42 · env.USERS_GRPC_ADDR.
In the spec and in the code: internal/common/client/grpc.go:42 · env.USERS_GRPC_ADDR.
Show its neighboursNo open PR touches it
firestore
datastore · wild-workouts-go-ddd-examplebuilt from a Dockerfile, or Firestore- Plan
- ✓ in the spec · model.c4:56
- Code
- ✓ built from a Dockerfile, or Firestore · docker-compose.yml:113
- Live
- — not traced
Talks to
used by trainer-http
In the spec and in the code: docker-compose.yml:14 · env.FIRESTORE_EMULATOR_HOST.
In the spec and in the code: docker-compose.yml:14 · env.FIRESTORE_EMULATOR_HOST.
used by trainer-grpc
In the spec and in the code: docker-compose.yml:34 · env.FIRESTORE_EMULATOR_HOST.
In the spec and in the code: docker-compose.yml:34 · env.FIRESTORE_EMULATOR_HOST.
used by trainings-http
In the spec and in the code: docker-compose.yml:54 · env.FIRESTORE_EMULATOR_HOST.
In the spec and in the code: docker-compose.yml:54 · env.FIRESTORE_EMULATOR_HOST.
used by users-http
In the spec and in the code: docker-compose.yml:73 · env.FIRESTORE_EMULATOR_HOST.
In the spec and in the code: docker-compose.yml:73 · env.FIRESTORE_EMULATOR_HOST.
used by users-grpc
In the spec and in the code: docker-compose.yml:93 · env.FIRESTORE_EMULATOR_HOST.
In the spec and in the code: docker-compose.yml:93 · env.FIRESTORE_EMULATOR_HOST.
calls trainer-grpc
In the spec and in the code: docker-compose.yml:113 · env.TRAINER_GRPC_ADDR.
In the spec and in the code: docker-compose.yml:113 · env.TRAINER_GRPC_ADDR.
calls users-grpc
In the spec and in the code: docker-compose.yml:113 · env.USERS_GRPC_ADDR.
In the spec and in the code: docker-compose.yml:113 · env.USERS_GRPC_ADDR.
used by mysql
In the spec and in the code: docker-compose.yml:132 · env.FIRESTORE_EMULATOR_HOST.
In the spec and in the code: docker-compose.yml:132 · env.FIRESTORE_EMULATOR_HOST.
used by trainer
In the spec and in the code: internal/trainer/go.mod:6.
In the spec and in the code: internal/trainer/go.mod:6.
used by trainings
In the spec and in the code: internal/trainings/go.mod:6.
In the spec and in the code: internal/trainings/go.mod:6.
used by users
In the spec and in the code: internal/users/go.mod:6.
In the spec and in the code: internal/users/go.mod:6.
Show its neighboursNo open PR touches it
mysql
datastore · wild-workouts-go-ddd-examplemariadb:10- Plan
- ✓ in the spec · model.c4:62
- Code
- ✓ mariadb:10 · docker-compose.yml:132
- Live
- — not traced
Talks to
uses firestore
In the spec and in the code: docker-compose.yml:132 · env.FIRESTORE_EMULATOR_HOST.
In the spec and in the code: docker-compose.yml:132 · env.FIRESTORE_EMULATOR_HOST.
calls trainer-grpc
In the spec and in the code: docker-compose.yml:132 · env.TRAINER_GRPC_ADDR.
In the spec and in the code: docker-compose.yml:132 · env.TRAINER_GRPC_ADDR.
calls users-grpc
In the spec and in the code: docker-compose.yml:132 · env.USERS_GRPC_ADDR.
In the spec and in the code: docker-compose.yml:132 · env.USERS_GRPC_ADDR.
used by trainer
In the spec and in the code: internal/trainer/go.mod:10.
In the spec and in the code: internal/trainer/go.mod:10.
Show its neighboursNo open PR touches it
trainer
service · wild-workouts-go-ddd-exampleGochigRPC- Plan
- ✓ in the spec · model.c4:68
- Code
- ✓ 29 files in internal/trainer/** · go.mod:1
- Live
- — no traces as trainer in 7 days
API · gRPC
gRPCserved with grpc.NewServergrpc.go:36
Talks to
calls an unresolved target
os.Getenv("MYSQL_ADDR") at internal/trainer/adapters/hour_mysql_repository.go:186: the address comes from config portal can't see. Name it in the spec to settle it.
os.Getenv("MYSQL_ADDR") at internal/trainer/adapters/hour_mysql_repository.go:186: the address comes from config portal can't see. Name it in the spec to settle it.
uses firestore
In the spec and in the code: internal/trainer/go.mod:6.
In the spec and in the code: internal/trainer/go.mod:6.
uses mysql
In the spec and in the code: internal/trainer/go.mod:10.
In the spec and in the code: internal/trainer/go.mod:10.
calls trainer-grpc
In the spec and in the code: internal/common/client/grpc.go:19 · env.TRAINER_GRPC_ADDR.
In the spec and in the code: internal/common/client/grpc.go:19 · env.TRAINER_GRPC_ADDR.
calls users-grpc
In the spec and in the code: internal/common/client/grpc.go:42 · env.USERS_GRPC_ADDR.
In the spec and in the code: internal/common/client/grpc.go:42 · env.USERS_GRPC_ADDR.
Inside · 1 component
commoninternal/common/**
Depends on
Firestore · datacloud.google.com/go/firestore · go.mod:6
MySQL · datagithub.com/go-sql-driver/mysql · go.mod:10
trainings
service · wild-workouts-go-ddd-exampleGochi- Plan
- ✓ in the spec · model.c4:81
- Code
- ✓ 36 files in internal/trainings/** · go.mod:1
- Live
- — no traces as trainings in 7 days
Talks to
uses firestore
In the spec and in the code: internal/trainings/go.mod:6.
In the spec and in the code: internal/trainings/go.mod:6.
Depends on
Firestore · datacloud.google.com/go/firestore · go.mod:6
users
service · wild-workouts-go-ddd-exampleGochi- Plan
- ✓ in the spec · model.c4:89
- Code
- ✓ 10 files in internal/users/** · go.mod:1
- Live
- — no traces as users in 7 days
Talks to
uses firestore
In the spec and in the code: internal/users/go.mod:6.
In the spec and in the code: internal/users/go.mod:6.
Depends on
Firestore · datacloud.google.com/go/firestore · go.mod:6
common
component · wild-workouts-go-ddd-exampleGochigRPC- Plan
- ✓ in the spec · model.c4:75
- Code
- ✓ 36 files in internal/common/** · go.mod:1
- Live
- — not traced
API · gRPC
gRPCserved with grpc.NewServergrpc.go:36
Talks to
calls trainer-grpc
In the spec and in the code: internal/common/client/grpc.go:19 · env.TRAINER_GRPC_ADDR.
In the spec and in the code: internal/common/client/grpc.go:19 · env.TRAINER_GRPC_ADDR.
calls users-grpc
In the spec and in the code: internal/common/client/grpc.go:42 · env.USERS_GRPC_ADDR.
In the spec and in the code: internal/common/client/grpc.go:42 · env.USERS_GRPC_ADDR.
Depends on
Firestore · datafirebase.google.com/go/v4 · go.mod:7