771 . [ Introduction] ( #introduction )
88 1 . [ The problem] ( #the-problem )
99 1 . [ The solution] ( #the-solution )
10- 1 . [ Not considered yet] ( #not-considered-yet )
11101 . [ Project structure] ( #project-structure )
12111 . [ How does it work] ( #how-does-it-work )
1312 1 . [ Ingestion] ( #ingestion )
@@ -28,21 +27,18 @@ drivers? Conversely, how do we select the best trips for drivers?
2827Combine [ Google Maps] ( https://developers.google.com/maps/documentation/distance-matrix/distance-matrix )
2928and [ h3] ( https://h3geo.org/ ) (a hexagonal hierarchical geospatial indexing system).
3029
31- ### Not considered yet
32- 1 . Driver eligibility for trip
33-
3430## Project structure
3531
36- | Directory | Description |
37- | ----------------------------------------------| -------------------------------------------|
38- | [ ` ./cmd ` ] ( ./cmd ) | CLI for making gRPC requests |
39- | [ ` ./idl ` ] ( ./idl ) | Protobufs (Interface Definition Language) |
40- | [ ` ./internal/app ` ] ( ./internal/app ) | App dependency injection / initialization |
41- | [ ` ./internal/distance ` ] ( ./ internal/distance) | Google Maps Distance Matrix logic |
42- | [ ` ./internal/idl ` ] ( ./internal/idl ) | Auto-generated protobufs |
43- | [ ` ./internal/models ` ] ( ./internal/models ) | Auto-generated ORM / models |
44- | [ ` ./internal/service ` ] ( ./internal/service ) | Service layer / Business logic |
45- | [ ` ./schema ` ] ( ./schema ) | SQL migration scripts |
32+ | Directory | Description |
33+ | ----------------------------------------------------- | -------------------------------------------|
34+ | [ ` ./cmd ` ] ( ./cmd ) | CLI for making gRPC requests |
35+ | [ ` ./idl ` ] ( ./idl/coop/drivers/dispatch/v1beta1 ) | Protobufs (Interface Definition Language) |
36+ | [ ` ./internal/app ` ] ( ./internal/app ) | App dependency injection / initialization |
37+ | [ ` ./internal/distance ` ] ( internal/service/ distance ) | Google Maps Distance Matrix logic |
38+ | [ ` ./internal/idl ` ] ( ./internal/idl ) | Auto-generated protobufs |
39+ | [ ` ./internal/models ` ] ( ./internal/models ) | Auto-generated ORM / models |
40+ | [ ` ./internal/service ` ] ( ./internal/service ) | Service layer / Business logic |
41+ | [ ` ./schema ` ] ( ./schema ) | SQL migration scripts |
4642
4743## How does it work
4844
0 commit comments