├── .dockerignore ├── .editorconfig ├── .gitignore ├── Dockerfile ├── Dockerfile.development ├── FTGOGO.postman_collection.json ├── Makefile ├── README.md ├── accounting ├── acctmod │ └── setup.go ├── cmd │ ├── cdc │ │ └── main.go │ └── service │ │ ├── .env │ │ └── main.go ├── feature_test.go ├── features │ ├── authorize_order.feature │ ├── create_account.feature │ ├── disable_account.feature │ ├── enable_account.feature │ ├── get_account.feature │ └── steps │ │ ├── authorize_order.go │ │ ├── create_account.go │ │ ├── disable_account.go │ │ ├── enable_account.go │ │ ├── feature_state.go │ │ ├── get_account.go │ │ ├── reverse_authorize_order.go │ │ └── revise_authorize_order.go ├── go.mod ├── go.sum └── internal │ ├── adapters │ └── account_aggregate_repository.go │ ├── application │ ├── commands │ │ ├── authorize_order.go │ │ ├── create_account.go │ │ ├── disable_account.go │ │ ├── enable_account.go │ │ ├── reverse_authorize_order.go │ │ └── revise_authorize_order.go │ ├── ports │ │ └── account_repository.go │ ├── queries │ │ └── get_account.go │ └── service.go │ ├── domain │ ├── account.go │ ├── account_commands.go │ ├── account_events.go │ ├── account_snapshots.go │ └── register_types.go │ └── handlers │ ├── command_handlers.go │ ├── consumer_event_handlers.go │ ├── openapi.yaml │ └── rpc_handlers.go ├── config └── postgresql │ └── init-postgres.sql ├── consumer ├── cmd │ ├── cdc │ │ └── main.go │ └── service │ │ ├── .env │ │ └── main.go ├── consmod │ └── setup.go ├── feature_test.go ├── features │ ├── add_address.feature │ ├── get_address.feature │ ├── get_consumer.feature │ ├── register_consumer.feature │ ├── remove_address.feature │ ├── steps │ │ ├── add_address.go │ │ ├── feature_state.go │ │ ├── get_address.go │ │ ├── get_consumer.go │ │ ├── register_consumer.go │ │ ├── remove_address.go │ │ ├── update_address.go │ │ ├── update_consumer.go │ │ └── validate_order_by_consumer.go │ ├── update_address.feature │ ├── update_consumer.feature │ └── validate_order_by_consumer.feature ├── go.mod ├── go.sum └── internal │ ├── adapters │ ├── consumer_aggregate_repository.go │ ├── consumer_entity_event_publisher.go │ └── consumer_repository_publisher_middleware.go │ ├── application │ ├── commands │ │ ├── add_address.go │ │ ├── register_consumer.go │ │ ├── remove_address.go │ │ ├── update_address.go │ │ ├── update_consumer.go │ │ └── validate_order_by_consumer.go │ ├── ports │ │ ├── consumer_publisher.go │ │ └── consumer_repository.go │ ├── queries │ │ ├── get_address.go │ │ └── get_consumer.go │ └── service.go │ ├── domain │ ├── consumer.go │ ├── consumer_commands.go │ ├── consumer_snapshots.go │ └── register_types.go │ └── handlers │ ├── command_handlers.go │ ├── openapi.yaml │ └── rpc_handlers.go ├── customer-web ├── cmd │ └── gateway │ │ └── main.go ├── cwebmod │ └── setup.go ├── go.mod ├── go.sum └── internal │ ├── adapters │ ├── consumer_grpc_repository.go │ ├── consumer_repository.go │ ├── order_grpc_repository.go │ ├── order_history_grpc_repository.go │ ├── order_history_repository.go │ └── order_repository.go │ ├── application │ ├── commands │ │ ├── add_consumer_address.go │ │ ├── cancel_order.go │ │ ├── create_order.go │ │ ├── register_consumer.go │ │ ├── remove_consumer_address.go │ │ ├── revise_order.go │ │ └── update_consumer_address.go │ ├── queries │ │ ├── get_consumer.go │ │ ├── get_consumer_address.go │ │ ├── get_order.go │ │ └── search_orders.go │ └── service.go │ ├── domain │ ├── consumer.go │ ├── order.go │ └── order_history.go │ └── handlers │ ├── oapi-codegen.cfg.yaml │ ├── openapi.yaml │ ├── web_handlers.go │ └── web_server_api.gen.go ├── delivery ├── cmd │ └── service │ │ ├── .env │ │ └── main.go ├── delvmod │ └── setup.go ├── feature_test.go ├── features │ ├── cancel_delivery.feature │ ├── create_delivery.feature │ ├── create_restaurant.feature │ ├── get_courier.feature │ ├── get_delivery.feature │ ├── schedule_delivery.feature │ ├── set_courier_availability.feature │ └── steps │ │ ├── cancel_delivery.go │ │ ├── create_delivery.go │ │ ├── create_restaurant.go │ │ ├── feature_state.go │ │ ├── get_courier.go │ │ ├── get_delivery.go │ │ ├── schedule_delivery.go │ │ └── set_courier_availability.go ├── go.mod ├── go.sum └── internal │ ├── adapters │ ├── courier_inmem_repository.go │ ├── courier_postgres_repository.go │ ├── delivery_inmem_repository.go │ ├── delivery_postgres_repository.go │ ├── restaurant_inmem_repository.go │ └── restaurant_postgres_repository.go │ ├── application │ ├── commands │ │ ├── cancel_delivery.go │ │ ├── create_delivery.go │ │ ├── create_restaurant.go │ │ ├── schedule_delivery.go │ │ └── set_courier_availability.go │ ├── ports │ │ ├── courier_repository.go │ │ ├── delivery_repository.go │ │ └── restaurant_repository.go │ ├── queries │ │ ├── get_courier.go │ │ └── get_delivery.go │ └── service.go │ ├── domain │ ├── courier.go │ ├── delivery.go │ └── restaurant.go │ └── handlers │ ├── openapi.yaml │ ├── order_event_handlers.go │ ├── restaurant_event_handlers.go │ ├── rpc_handlers.go │ └── ticket_event_handlers.go ├── deployment └── kubernetes │ ├── accounting-service.yaml │ ├── config-map.yaml │ ├── namespace.yaml │ ├── postgresql.yaml │ └── stan.yaml ├── docker-compose-monolith.yml ├── docker-compose-use-kafka.yml ├── docker-compose.development.yml ├── docker-compose.yml ├── docs ├── architecture.png ├── cancelOrderSaga.png ├── createOrderSaga.png ├── diagrams.plantuml ├── hexagonal_architecture_w.png ├── outbox_pattern_bg.png ├── reviseOrderSaga.png └── theme.plantuml ├── kitchen ├── cmd │ ├── cdc │ │ └── main.go │ └── service │ │ ├── .env │ │ └── main.go ├── feature_test.go ├── features │ ├── accept_ticket.feature │ ├── cancel_ticket.feature │ ├── create_ticket.feature │ ├── get_ticket.feature │ ├── revise_ticket.feature │ └── steps │ │ ├── accept_ticket.go │ │ ├── cancel_ticket.go │ │ ├── create_restaurant.go │ │ ├── create_ticket.go │ │ ├── feature_state.go │ │ ├── get_ticket.go │ │ └── revise_ticket.go ├── go.mod ├── go.sum ├── internal │ ├── adapters │ │ ├── restaurant_inmem_repository.go │ │ ├── restaurant_postgres_repository.go │ │ ├── ticket_aggregate_repository.go │ │ ├── ticket_entity_event_publisher.go │ │ └── ticket_repository_publisher_middleware.go │ ├── application │ │ ├── commands │ │ │ ├── accept_ticket.go │ │ │ ├── begin_cancel_ticket.go │ │ │ ├── begin_revise_ticket.go │ │ │ ├── cancel_create_ticket.go │ │ │ ├── confirm_cancel_ticket.go │ │ │ ├── confirm_create_ticket.go │ │ │ ├── confirm_revise_ticket.go │ │ │ ├── create_restaurant.go │ │ │ ├── create_ticket.go │ │ │ ├── revise_restaurant_menu.go │ │ │ ├── undo_cancel_ticket.go │ │ │ └── undo_revise_ticket.go │ │ ├── ports │ │ │ ├── restaurant_repository.go │ │ │ ├── ticket_publisher.go │ │ │ └── ticket_repository.go │ │ ├── queries │ │ │ ├── get_restaurant.go │ │ │ └── get_ticket.go │ │ └── service.go │ ├── domain │ │ ├── register_types.go │ │ ├── restaurant.go │ │ ├── ticket.go │ │ ├── ticket_commands.go │ │ ├── ticket_events.go │ │ └── ticket_snapshots.go │ └── handlers │ │ ├── command_handlers.go │ │ ├── openapi.yaml │ │ ├── restaurant_event_handlers.go │ │ └── rpc_handlers.go └── kitcmod │ └── setup.go ├── monolith ├── cmd │ └── service │ │ ├── .env │ │ └── main.go ├── go.mod └── go.sum ├── order-history ├── cmd │ └── service │ │ ├── .env │ │ └── main.go ├── go.mod ├── go.sum ├── internal │ ├── adapters │ │ ├── order_history_postgres_repository.go │ │ └── order_history_repository.go │ ├── application │ │ ├── commands │ │ │ ├── create_order_history.go │ │ │ └── update_order_status.go │ │ ├── queries │ │ │ ├── get_order_history.go │ │ │ ├── search_order_histories.go │ │ │ └── spec.yaml │ │ └── service.go │ ├── domain │ │ └── order_history.go │ └── handlers │ │ ├── openapi.yaml │ │ ├── order_event_handlers.go │ │ └── rpc_handlers.go └── ohismod │ └── setup.go ├── order ├── cmd │ ├── cdc │ │ └── main.go │ └── service │ │ ├── .env │ │ └── main.go ├── feature_test.go ├── features │ ├── approve_order.feature │ ├── cancel_order.feature │ ├── create_order.feature │ ├── reject_order.feature │ ├── revise_order.feature │ └── steps │ │ ├── cancel_order.go │ │ ├── create_order.go │ │ ├── create_restaurant.go │ │ ├── feature_data.go │ │ ├── feature_state.go │ │ ├── get_order.go │ │ └── revise_order.go ├── go.mod ├── go.sum ├── internal │ ├── adapters │ │ ├── cancel_order_orchestration_saga.go │ │ ├── create_order_orchestration_saga.go │ │ ├── inmem_counter.go │ │ ├── order_aggregate_respository.go │ │ ├── order_entity_event_publisher.go │ │ ├── order_repository_publisher_middleware.go │ │ ├── prometheus_counter.go │ │ ├── restaurant_inmem_repository.go │ │ ├── restaurant_postgres_repository.go │ │ └── revise_order_orchestration_saga.go │ ├── application │ │ ├── commands │ │ │ ├── approve_order.go │ │ │ ├── begin_cancel_order.go │ │ │ ├── begin_revise_order.go │ │ │ ├── confirm_cancel_order.go │ │ │ ├── confirm_revise_order.go │ │ │ ├── create_order.go │ │ │ ├── create_restaurant.go │ │ │ ├── reject_order.go │ │ │ ├── revise_restaurant_menu.go │ │ │ ├── start_cancel_order_saga.go │ │ │ ├── start_create_order_saga.go │ │ │ ├── start_revise_order_saga.go │ │ │ ├── undo_cancel_order.go │ │ │ └── undo_revise_order.go │ │ ├── ports │ │ │ ├── cancel_order_saga.go │ │ │ ├── counter.go │ │ │ ├── create_order_saga.go │ │ │ ├── order_publisher.go │ │ │ ├── order_repository.go │ │ │ ├── restaurant_repository.go │ │ │ └── revise_order_saga.go │ │ ├── queries │ │ │ ├── get_order.go │ │ │ └── get_restaurant.go │ │ └── service.go │ ├── domain │ │ ├── cancel_order_saga_data.go │ │ ├── create_order_saga_data.go │ │ ├── order.go │ │ ├── order_commands.go │ │ ├── order_events.go │ │ ├── order_snapshots.go │ │ ├── register_types.go │ │ ├── restaurant.go │ │ └── revise_order_saga_data.go │ └── handlers │ │ ├── command_handlers.go │ │ ├── openapi.yaml │ │ ├── order_event_handlers.go │ │ ├── restaurant_event_handlers.go │ │ └── rpc_handlers.go └── ordmod │ └── setup.go ├── restaurant ├── cmd │ ├── cdc │ │ └── main.go │ └── service │ │ ├── .env │ │ └── main.go ├── feature_test.go ├── features │ ├── create_restaurant.feature │ └── steps │ │ ├── create_restaurant.go │ │ ├── feature_data.go │ │ └── feature_state.go ├── go.mod ├── go.sum ├── internal │ ├── adapters │ │ ├── restaurant_entity_event_publisher.go │ │ ├── restaurant_inmem_repository.go │ │ ├── restaurant_postgres_publisher_middleware.go │ │ └── restaurant_postgres_repository.go │ ├── application │ │ ├── commands │ │ │ └── create_restaurant.go │ │ ├── ports │ │ │ ├── restaurant_publisher.go │ │ │ └── restaurant_repository.go │ │ ├── queries │ │ │ └── get_restaurant.go │ │ └── service.go │ ├── domain │ │ └── restaurant.go │ └── handlers │ │ ├── openapi.yaml │ │ └── rpc_handlers.go └── restmod │ └── setup.go ├── serviceapis ├── Makefile ├── accountingapi │ ├── api.go │ ├── commands.go │ ├── pb │ │ ├── service.pb.go │ │ ├── service.proto │ │ └── service_grpc.pb.go │ └── replies.go ├── commonapi │ ├── entities.go │ ├── pb │ │ ├── service.pb.go │ │ └── service.proto │ ├── spec.gen.go │ └── spec.yaml ├── consumerapi │ ├── api.go │ ├── commands.go │ ├── events.go │ ├── pb │ │ ├── service.pb.go │ │ ├── service.proto │ │ └── service_grpc.pb.go │ └── replies.go ├── deliveryapi │ └── pb │ │ ├── service.pb.go │ │ ├── service.proto │ │ └── service_grpc.pb.go ├── go.mod ├── go.sum ├── kitchenapi │ ├── api.go │ ├── commands.go │ ├── entities.go │ ├── events.go │ ├── pb │ │ ├── service.pb.go │ │ ├── service.proto │ │ └── service_grpc.pb.go │ └── replies.go ├── orderapi │ ├── api.go │ ├── commands.go │ ├── entities.go │ ├── events.go │ ├── pb │ │ ├── service.pb.go │ │ ├── service.proto │ │ └── service_grpc.pb.go │ └── replies.go ├── orderhistoryapi │ └── pb │ │ ├── service.pb.go │ │ ├── service.proto │ │ └── service_grpc.pb.go ├── register_types.go └── restaurantapi │ ├── api.go │ ├── commands.go │ ├── entities.go │ ├── events.go │ ├── pb │ ├── service.pb.go │ ├── service.proto │ └── service_grpc.pb.go │ ├── replies.go │ └── spec.yaml ├── shared-go ├── applications │ ├── cdc.go │ ├── gateway.go │ ├── monolith.go │ ├── service.go │ └── shared.go ├── egress │ ├── options.go │ └── waiter.go ├── go.mod ├── go.sum ├── instrumentation │ ├── message.go │ └── web.go ├── logging │ ├── logger.go │ ├── zapto │ │ └── logger.go │ └── zerologto │ │ └── logger.go ├── rpc │ ├── client.go │ ├── client_options.go │ ├── logging.go │ ├── server.go │ └── server_options.go └── web │ ├── context.go │ ├── error_response.go │ ├── logging.go │ ├── server.go │ ├── server_options.go │ └── spec.yaml └── store-web ├── cmd └── gateway │ └── main.go ├── go.mod ├── go.sum └── internal ├── adapters ├── accounting_grpc_repository.go ├── accounting_repository.go ├── consumer_grpc_repository.go ├── consumer_repository.go ├── delivery_grpc_repository.go ├── delivery_repository.go ├── order_grpc_repository.go ├── order_repository.go ├── restaurant_grpc_repository.go └── restaurant_repository.go ├── application ├── commands │ ├── cancel_order.go │ ├── create_restaurant.go │ ├── disable_account.go │ ├── enable_account.go │ └── set_courier_availability.go ├── queries │ ├── get_account.go │ ├── get_consumer.go │ ├── get_delivery_history.go │ ├── get_order.go │ └── get_restaurant.go └── service.go ├── domain ├── account.go ├── consumer.go ├── courier.go ├── delivery.go ├── delivery_history.go ├── order.go └── restaurant.go └── handlers ├── oapi-codegen.cfg.yaml ├── openapi.yaml ├── web_handlers.go └── web_server_api.gen.go /.dockerignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stackus/ftgogo/HEAD/.dockerignore -------------------------------------------------------------------------------- /.editorconfig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stackus/ftgogo/HEAD/.editorconfig -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stackus/ftgogo/HEAD/.gitignore -------------------------------------------------------------------------------- /Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stackus/ftgogo/HEAD/Dockerfile -------------------------------------------------------------------------------- /Dockerfile.development: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stackus/ftgogo/HEAD/Dockerfile.development -------------------------------------------------------------------------------- /FTGOGO.postman_collection.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stackus/ftgogo/HEAD/FTGOGO.postman_collection.json -------------------------------------------------------------------------------- /Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stackus/ftgogo/HEAD/Makefile -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stackus/ftgogo/HEAD/README.md -------------------------------------------------------------------------------- /accounting/acctmod/setup.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stackus/ftgogo/HEAD/accounting/acctmod/setup.go -------------------------------------------------------------------------------- /accounting/cmd/cdc/main.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stackus/ftgogo/HEAD/accounting/cmd/cdc/main.go -------------------------------------------------------------------------------- /accounting/cmd/service/.env: -------------------------------------------------------------------------------- 1 | SERVICE_ID=accounting-service -------------------------------------------------------------------------------- /accounting/cmd/service/main.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stackus/ftgogo/HEAD/accounting/cmd/service/main.go -------------------------------------------------------------------------------- /accounting/feature_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stackus/ftgogo/HEAD/accounting/feature_test.go -------------------------------------------------------------------------------- /accounting/features/authorize_order.feature: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stackus/ftgogo/HEAD/accounting/features/authorize_order.feature -------------------------------------------------------------------------------- /accounting/features/create_account.feature: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stackus/ftgogo/HEAD/accounting/features/create_account.feature -------------------------------------------------------------------------------- /accounting/features/disable_account.feature: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stackus/ftgogo/HEAD/accounting/features/disable_account.feature -------------------------------------------------------------------------------- /accounting/features/enable_account.feature: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stackus/ftgogo/HEAD/accounting/features/enable_account.feature -------------------------------------------------------------------------------- /accounting/features/get_account.feature: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stackus/ftgogo/HEAD/accounting/features/get_account.feature -------------------------------------------------------------------------------- /accounting/features/steps/authorize_order.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stackus/ftgogo/HEAD/accounting/features/steps/authorize_order.go -------------------------------------------------------------------------------- /accounting/features/steps/create_account.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stackus/ftgogo/HEAD/accounting/features/steps/create_account.go -------------------------------------------------------------------------------- /accounting/features/steps/disable_account.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stackus/ftgogo/HEAD/accounting/features/steps/disable_account.go -------------------------------------------------------------------------------- /accounting/features/steps/enable_account.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stackus/ftgogo/HEAD/accounting/features/steps/enable_account.go -------------------------------------------------------------------------------- /accounting/features/steps/feature_state.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stackus/ftgogo/HEAD/accounting/features/steps/feature_state.go -------------------------------------------------------------------------------- /accounting/features/steps/get_account.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stackus/ftgogo/HEAD/accounting/features/steps/get_account.go -------------------------------------------------------------------------------- /accounting/features/steps/reverse_authorize_order.go: -------------------------------------------------------------------------------- 1 | package steps 2 | 3 | // TODO test a noop command? 4 | -------------------------------------------------------------------------------- /accounting/features/steps/revise_authorize_order.go: -------------------------------------------------------------------------------- 1 | package steps 2 | 3 | // TODO test a noop command? 4 | -------------------------------------------------------------------------------- /accounting/go.mod: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stackus/ftgogo/HEAD/accounting/go.mod -------------------------------------------------------------------------------- /accounting/go.sum: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stackus/ftgogo/HEAD/accounting/go.sum -------------------------------------------------------------------------------- /accounting/internal/adapters/account_aggregate_repository.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stackus/ftgogo/HEAD/accounting/internal/adapters/account_aggregate_repository.go -------------------------------------------------------------------------------- /accounting/internal/application/commands/authorize_order.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stackus/ftgogo/HEAD/accounting/internal/application/commands/authorize_order.go -------------------------------------------------------------------------------- /accounting/internal/application/commands/create_account.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stackus/ftgogo/HEAD/accounting/internal/application/commands/create_account.go -------------------------------------------------------------------------------- /accounting/internal/application/commands/disable_account.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stackus/ftgogo/HEAD/accounting/internal/application/commands/disable_account.go -------------------------------------------------------------------------------- /accounting/internal/application/commands/enable_account.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stackus/ftgogo/HEAD/accounting/internal/application/commands/enable_account.go -------------------------------------------------------------------------------- /accounting/internal/application/commands/reverse_authorize_order.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stackus/ftgogo/HEAD/accounting/internal/application/commands/reverse_authorize_order.go -------------------------------------------------------------------------------- /accounting/internal/application/commands/revise_authorize_order.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stackus/ftgogo/HEAD/accounting/internal/application/commands/revise_authorize_order.go -------------------------------------------------------------------------------- /accounting/internal/application/ports/account_repository.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stackus/ftgogo/HEAD/accounting/internal/application/ports/account_repository.go -------------------------------------------------------------------------------- /accounting/internal/application/queries/get_account.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stackus/ftgogo/HEAD/accounting/internal/application/queries/get_account.go -------------------------------------------------------------------------------- /accounting/internal/application/service.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stackus/ftgogo/HEAD/accounting/internal/application/service.go -------------------------------------------------------------------------------- /accounting/internal/domain/account.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stackus/ftgogo/HEAD/accounting/internal/domain/account.go -------------------------------------------------------------------------------- /accounting/internal/domain/account_commands.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stackus/ftgogo/HEAD/accounting/internal/domain/account_commands.go -------------------------------------------------------------------------------- /accounting/internal/domain/account_events.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stackus/ftgogo/HEAD/accounting/internal/domain/account_events.go -------------------------------------------------------------------------------- /accounting/internal/domain/account_snapshots.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stackus/ftgogo/HEAD/accounting/internal/domain/account_snapshots.go -------------------------------------------------------------------------------- /accounting/internal/domain/register_types.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stackus/ftgogo/HEAD/accounting/internal/domain/register_types.go -------------------------------------------------------------------------------- /accounting/internal/handlers/command_handlers.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stackus/ftgogo/HEAD/accounting/internal/handlers/command_handlers.go -------------------------------------------------------------------------------- /accounting/internal/handlers/consumer_event_handlers.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stackus/ftgogo/HEAD/accounting/internal/handlers/consumer_event_handlers.go -------------------------------------------------------------------------------- /accounting/internal/handlers/openapi.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stackus/ftgogo/HEAD/accounting/internal/handlers/openapi.yaml -------------------------------------------------------------------------------- /accounting/internal/handlers/rpc_handlers.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stackus/ftgogo/HEAD/accounting/internal/handlers/rpc_handlers.go -------------------------------------------------------------------------------- /config/postgresql/init-postgres.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stackus/ftgogo/HEAD/config/postgresql/init-postgres.sql -------------------------------------------------------------------------------- /consumer/cmd/cdc/main.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stackus/ftgogo/HEAD/consumer/cmd/cdc/main.go -------------------------------------------------------------------------------- /consumer/cmd/service/.env: -------------------------------------------------------------------------------- 1 | SERVICE_ID=consumer-service -------------------------------------------------------------------------------- /consumer/cmd/service/main.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stackus/ftgogo/HEAD/consumer/cmd/service/main.go -------------------------------------------------------------------------------- /consumer/consmod/setup.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stackus/ftgogo/HEAD/consumer/consmod/setup.go -------------------------------------------------------------------------------- /consumer/feature_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stackus/ftgogo/HEAD/consumer/feature_test.go -------------------------------------------------------------------------------- /consumer/features/add_address.feature: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stackus/ftgogo/HEAD/consumer/features/add_address.feature -------------------------------------------------------------------------------- /consumer/features/get_address.feature: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stackus/ftgogo/HEAD/consumer/features/get_address.feature -------------------------------------------------------------------------------- /consumer/features/get_consumer.feature: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stackus/ftgogo/HEAD/consumer/features/get_consumer.feature -------------------------------------------------------------------------------- /consumer/features/register_consumer.feature: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stackus/ftgogo/HEAD/consumer/features/register_consumer.feature -------------------------------------------------------------------------------- /consumer/features/remove_address.feature: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stackus/ftgogo/HEAD/consumer/features/remove_address.feature -------------------------------------------------------------------------------- /consumer/features/steps/add_address.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stackus/ftgogo/HEAD/consumer/features/steps/add_address.go -------------------------------------------------------------------------------- /consumer/features/steps/feature_state.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stackus/ftgogo/HEAD/consumer/features/steps/feature_state.go -------------------------------------------------------------------------------- /consumer/features/steps/get_address.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stackus/ftgogo/HEAD/consumer/features/steps/get_address.go -------------------------------------------------------------------------------- /consumer/features/steps/get_consumer.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stackus/ftgogo/HEAD/consumer/features/steps/get_consumer.go -------------------------------------------------------------------------------- /consumer/features/steps/register_consumer.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stackus/ftgogo/HEAD/consumer/features/steps/register_consumer.go -------------------------------------------------------------------------------- /consumer/features/steps/remove_address.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stackus/ftgogo/HEAD/consumer/features/steps/remove_address.go -------------------------------------------------------------------------------- /consumer/features/steps/update_address.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stackus/ftgogo/HEAD/consumer/features/steps/update_address.go -------------------------------------------------------------------------------- /consumer/features/steps/update_consumer.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stackus/ftgogo/HEAD/consumer/features/steps/update_consumer.go -------------------------------------------------------------------------------- /consumer/features/steps/validate_order_by_consumer.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stackus/ftgogo/HEAD/consumer/features/steps/validate_order_by_consumer.go -------------------------------------------------------------------------------- /consumer/features/update_address.feature: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stackus/ftgogo/HEAD/consumer/features/update_address.feature -------------------------------------------------------------------------------- /consumer/features/update_consumer.feature: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stackus/ftgogo/HEAD/consumer/features/update_consumer.feature -------------------------------------------------------------------------------- /consumer/features/validate_order_by_consumer.feature: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stackus/ftgogo/HEAD/consumer/features/validate_order_by_consumer.feature -------------------------------------------------------------------------------- /consumer/go.mod: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stackus/ftgogo/HEAD/consumer/go.mod -------------------------------------------------------------------------------- /consumer/go.sum: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stackus/ftgogo/HEAD/consumer/go.sum -------------------------------------------------------------------------------- /consumer/internal/adapters/consumer_aggregate_repository.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stackus/ftgogo/HEAD/consumer/internal/adapters/consumer_aggregate_repository.go -------------------------------------------------------------------------------- /consumer/internal/adapters/consumer_entity_event_publisher.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stackus/ftgogo/HEAD/consumer/internal/adapters/consumer_entity_event_publisher.go -------------------------------------------------------------------------------- /consumer/internal/adapters/consumer_repository_publisher_middleware.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stackus/ftgogo/HEAD/consumer/internal/adapters/consumer_repository_publisher_middleware.go -------------------------------------------------------------------------------- /consumer/internal/application/commands/add_address.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stackus/ftgogo/HEAD/consumer/internal/application/commands/add_address.go -------------------------------------------------------------------------------- /consumer/internal/application/commands/register_consumer.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stackus/ftgogo/HEAD/consumer/internal/application/commands/register_consumer.go -------------------------------------------------------------------------------- /consumer/internal/application/commands/remove_address.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stackus/ftgogo/HEAD/consumer/internal/application/commands/remove_address.go -------------------------------------------------------------------------------- /consumer/internal/application/commands/update_address.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stackus/ftgogo/HEAD/consumer/internal/application/commands/update_address.go -------------------------------------------------------------------------------- /consumer/internal/application/commands/update_consumer.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stackus/ftgogo/HEAD/consumer/internal/application/commands/update_consumer.go -------------------------------------------------------------------------------- /consumer/internal/application/commands/validate_order_by_consumer.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stackus/ftgogo/HEAD/consumer/internal/application/commands/validate_order_by_consumer.go -------------------------------------------------------------------------------- /consumer/internal/application/ports/consumer_publisher.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stackus/ftgogo/HEAD/consumer/internal/application/ports/consumer_publisher.go -------------------------------------------------------------------------------- /consumer/internal/application/ports/consumer_repository.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stackus/ftgogo/HEAD/consumer/internal/application/ports/consumer_repository.go -------------------------------------------------------------------------------- /consumer/internal/application/queries/get_address.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stackus/ftgogo/HEAD/consumer/internal/application/queries/get_address.go -------------------------------------------------------------------------------- /consumer/internal/application/queries/get_consumer.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stackus/ftgogo/HEAD/consumer/internal/application/queries/get_consumer.go -------------------------------------------------------------------------------- /consumer/internal/application/service.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stackus/ftgogo/HEAD/consumer/internal/application/service.go -------------------------------------------------------------------------------- /consumer/internal/domain/consumer.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stackus/ftgogo/HEAD/consumer/internal/domain/consumer.go -------------------------------------------------------------------------------- /consumer/internal/domain/consumer_commands.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stackus/ftgogo/HEAD/consumer/internal/domain/consumer_commands.go -------------------------------------------------------------------------------- /consumer/internal/domain/consumer_snapshots.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stackus/ftgogo/HEAD/consumer/internal/domain/consumer_snapshots.go -------------------------------------------------------------------------------- /consumer/internal/domain/register_types.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stackus/ftgogo/HEAD/consumer/internal/domain/register_types.go -------------------------------------------------------------------------------- /consumer/internal/handlers/command_handlers.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stackus/ftgogo/HEAD/consumer/internal/handlers/command_handlers.go -------------------------------------------------------------------------------- /consumer/internal/handlers/openapi.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stackus/ftgogo/HEAD/consumer/internal/handlers/openapi.yaml -------------------------------------------------------------------------------- /consumer/internal/handlers/rpc_handlers.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stackus/ftgogo/HEAD/consumer/internal/handlers/rpc_handlers.go -------------------------------------------------------------------------------- /customer-web/cmd/gateway/main.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stackus/ftgogo/HEAD/customer-web/cmd/gateway/main.go -------------------------------------------------------------------------------- /customer-web/cwebmod/setup.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stackus/ftgogo/HEAD/customer-web/cwebmod/setup.go -------------------------------------------------------------------------------- /customer-web/go.mod: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stackus/ftgogo/HEAD/customer-web/go.mod -------------------------------------------------------------------------------- /customer-web/go.sum: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stackus/ftgogo/HEAD/customer-web/go.sum -------------------------------------------------------------------------------- /customer-web/internal/adapters/consumer_grpc_repository.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stackus/ftgogo/HEAD/customer-web/internal/adapters/consumer_grpc_repository.go -------------------------------------------------------------------------------- /customer-web/internal/adapters/consumer_repository.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stackus/ftgogo/HEAD/customer-web/internal/adapters/consumer_repository.go -------------------------------------------------------------------------------- /customer-web/internal/adapters/order_grpc_repository.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stackus/ftgogo/HEAD/customer-web/internal/adapters/order_grpc_repository.go -------------------------------------------------------------------------------- /customer-web/internal/adapters/order_history_grpc_repository.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stackus/ftgogo/HEAD/customer-web/internal/adapters/order_history_grpc_repository.go -------------------------------------------------------------------------------- /customer-web/internal/adapters/order_history_repository.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stackus/ftgogo/HEAD/customer-web/internal/adapters/order_history_repository.go -------------------------------------------------------------------------------- /customer-web/internal/adapters/order_repository.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stackus/ftgogo/HEAD/customer-web/internal/adapters/order_repository.go -------------------------------------------------------------------------------- /customer-web/internal/application/commands/add_consumer_address.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stackus/ftgogo/HEAD/customer-web/internal/application/commands/add_consumer_address.go -------------------------------------------------------------------------------- /customer-web/internal/application/commands/cancel_order.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stackus/ftgogo/HEAD/customer-web/internal/application/commands/cancel_order.go -------------------------------------------------------------------------------- /customer-web/internal/application/commands/create_order.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stackus/ftgogo/HEAD/customer-web/internal/application/commands/create_order.go -------------------------------------------------------------------------------- /customer-web/internal/application/commands/register_consumer.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stackus/ftgogo/HEAD/customer-web/internal/application/commands/register_consumer.go -------------------------------------------------------------------------------- /customer-web/internal/application/commands/remove_consumer_address.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stackus/ftgogo/HEAD/customer-web/internal/application/commands/remove_consumer_address.go -------------------------------------------------------------------------------- /customer-web/internal/application/commands/revise_order.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stackus/ftgogo/HEAD/customer-web/internal/application/commands/revise_order.go -------------------------------------------------------------------------------- /customer-web/internal/application/commands/update_consumer_address.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stackus/ftgogo/HEAD/customer-web/internal/application/commands/update_consumer_address.go -------------------------------------------------------------------------------- /customer-web/internal/application/queries/get_consumer.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stackus/ftgogo/HEAD/customer-web/internal/application/queries/get_consumer.go -------------------------------------------------------------------------------- /customer-web/internal/application/queries/get_consumer_address.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stackus/ftgogo/HEAD/customer-web/internal/application/queries/get_consumer_address.go -------------------------------------------------------------------------------- /customer-web/internal/application/queries/get_order.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stackus/ftgogo/HEAD/customer-web/internal/application/queries/get_order.go -------------------------------------------------------------------------------- /customer-web/internal/application/queries/search_orders.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stackus/ftgogo/HEAD/customer-web/internal/application/queries/search_orders.go -------------------------------------------------------------------------------- /customer-web/internal/application/service.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stackus/ftgogo/HEAD/customer-web/internal/application/service.go -------------------------------------------------------------------------------- /customer-web/internal/domain/consumer.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stackus/ftgogo/HEAD/customer-web/internal/domain/consumer.go -------------------------------------------------------------------------------- /customer-web/internal/domain/order.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stackus/ftgogo/HEAD/customer-web/internal/domain/order.go -------------------------------------------------------------------------------- /customer-web/internal/domain/order_history.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stackus/ftgogo/HEAD/customer-web/internal/domain/order_history.go -------------------------------------------------------------------------------- /customer-web/internal/handlers/oapi-codegen.cfg.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stackus/ftgogo/HEAD/customer-web/internal/handlers/oapi-codegen.cfg.yaml -------------------------------------------------------------------------------- /customer-web/internal/handlers/openapi.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stackus/ftgogo/HEAD/customer-web/internal/handlers/openapi.yaml -------------------------------------------------------------------------------- /customer-web/internal/handlers/web_handlers.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stackus/ftgogo/HEAD/customer-web/internal/handlers/web_handlers.go -------------------------------------------------------------------------------- /customer-web/internal/handlers/web_server_api.gen.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stackus/ftgogo/HEAD/customer-web/internal/handlers/web_server_api.gen.go -------------------------------------------------------------------------------- /delivery/cmd/service/.env: -------------------------------------------------------------------------------- 1 | SERVICE_ID=delivery-service -------------------------------------------------------------------------------- /delivery/cmd/service/main.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stackus/ftgogo/HEAD/delivery/cmd/service/main.go -------------------------------------------------------------------------------- /delivery/delvmod/setup.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stackus/ftgogo/HEAD/delivery/delvmod/setup.go -------------------------------------------------------------------------------- /delivery/feature_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stackus/ftgogo/HEAD/delivery/feature_test.go -------------------------------------------------------------------------------- /delivery/features/cancel_delivery.feature: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stackus/ftgogo/HEAD/delivery/features/cancel_delivery.feature -------------------------------------------------------------------------------- /delivery/features/create_delivery.feature: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stackus/ftgogo/HEAD/delivery/features/create_delivery.feature -------------------------------------------------------------------------------- /delivery/features/create_restaurant.feature: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stackus/ftgogo/HEAD/delivery/features/create_restaurant.feature -------------------------------------------------------------------------------- /delivery/features/get_courier.feature: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stackus/ftgogo/HEAD/delivery/features/get_courier.feature -------------------------------------------------------------------------------- /delivery/features/get_delivery.feature: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stackus/ftgogo/HEAD/delivery/features/get_delivery.feature -------------------------------------------------------------------------------- /delivery/features/schedule_delivery.feature: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stackus/ftgogo/HEAD/delivery/features/schedule_delivery.feature -------------------------------------------------------------------------------- /delivery/features/set_courier_availability.feature: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stackus/ftgogo/HEAD/delivery/features/set_courier_availability.feature -------------------------------------------------------------------------------- /delivery/features/steps/cancel_delivery.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stackus/ftgogo/HEAD/delivery/features/steps/cancel_delivery.go -------------------------------------------------------------------------------- /delivery/features/steps/create_delivery.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stackus/ftgogo/HEAD/delivery/features/steps/create_delivery.go -------------------------------------------------------------------------------- /delivery/features/steps/create_restaurant.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stackus/ftgogo/HEAD/delivery/features/steps/create_restaurant.go -------------------------------------------------------------------------------- /delivery/features/steps/feature_state.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stackus/ftgogo/HEAD/delivery/features/steps/feature_state.go -------------------------------------------------------------------------------- /delivery/features/steps/get_courier.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stackus/ftgogo/HEAD/delivery/features/steps/get_courier.go -------------------------------------------------------------------------------- /delivery/features/steps/get_delivery.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stackus/ftgogo/HEAD/delivery/features/steps/get_delivery.go -------------------------------------------------------------------------------- /delivery/features/steps/schedule_delivery.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stackus/ftgogo/HEAD/delivery/features/steps/schedule_delivery.go -------------------------------------------------------------------------------- /delivery/features/steps/set_courier_availability.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stackus/ftgogo/HEAD/delivery/features/steps/set_courier_availability.go -------------------------------------------------------------------------------- /delivery/go.mod: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stackus/ftgogo/HEAD/delivery/go.mod -------------------------------------------------------------------------------- /delivery/go.sum: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stackus/ftgogo/HEAD/delivery/go.sum -------------------------------------------------------------------------------- /delivery/internal/adapters/courier_inmem_repository.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stackus/ftgogo/HEAD/delivery/internal/adapters/courier_inmem_repository.go -------------------------------------------------------------------------------- /delivery/internal/adapters/courier_postgres_repository.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stackus/ftgogo/HEAD/delivery/internal/adapters/courier_postgres_repository.go -------------------------------------------------------------------------------- /delivery/internal/adapters/delivery_inmem_repository.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stackus/ftgogo/HEAD/delivery/internal/adapters/delivery_inmem_repository.go -------------------------------------------------------------------------------- /delivery/internal/adapters/delivery_postgres_repository.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stackus/ftgogo/HEAD/delivery/internal/adapters/delivery_postgres_repository.go -------------------------------------------------------------------------------- /delivery/internal/adapters/restaurant_inmem_repository.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stackus/ftgogo/HEAD/delivery/internal/adapters/restaurant_inmem_repository.go -------------------------------------------------------------------------------- /delivery/internal/adapters/restaurant_postgres_repository.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stackus/ftgogo/HEAD/delivery/internal/adapters/restaurant_postgres_repository.go -------------------------------------------------------------------------------- /delivery/internal/application/commands/cancel_delivery.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stackus/ftgogo/HEAD/delivery/internal/application/commands/cancel_delivery.go -------------------------------------------------------------------------------- /delivery/internal/application/commands/create_delivery.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stackus/ftgogo/HEAD/delivery/internal/application/commands/create_delivery.go -------------------------------------------------------------------------------- /delivery/internal/application/commands/create_restaurant.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stackus/ftgogo/HEAD/delivery/internal/application/commands/create_restaurant.go -------------------------------------------------------------------------------- /delivery/internal/application/commands/schedule_delivery.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stackus/ftgogo/HEAD/delivery/internal/application/commands/schedule_delivery.go -------------------------------------------------------------------------------- /delivery/internal/application/commands/set_courier_availability.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stackus/ftgogo/HEAD/delivery/internal/application/commands/set_courier_availability.go -------------------------------------------------------------------------------- /delivery/internal/application/ports/courier_repository.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stackus/ftgogo/HEAD/delivery/internal/application/ports/courier_repository.go -------------------------------------------------------------------------------- /delivery/internal/application/ports/delivery_repository.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stackus/ftgogo/HEAD/delivery/internal/application/ports/delivery_repository.go -------------------------------------------------------------------------------- /delivery/internal/application/ports/restaurant_repository.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stackus/ftgogo/HEAD/delivery/internal/application/ports/restaurant_repository.go -------------------------------------------------------------------------------- /delivery/internal/application/queries/get_courier.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stackus/ftgogo/HEAD/delivery/internal/application/queries/get_courier.go -------------------------------------------------------------------------------- /delivery/internal/application/queries/get_delivery.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stackus/ftgogo/HEAD/delivery/internal/application/queries/get_delivery.go -------------------------------------------------------------------------------- /delivery/internal/application/service.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stackus/ftgogo/HEAD/delivery/internal/application/service.go -------------------------------------------------------------------------------- /delivery/internal/domain/courier.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stackus/ftgogo/HEAD/delivery/internal/domain/courier.go -------------------------------------------------------------------------------- /delivery/internal/domain/delivery.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stackus/ftgogo/HEAD/delivery/internal/domain/delivery.go -------------------------------------------------------------------------------- /delivery/internal/domain/restaurant.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stackus/ftgogo/HEAD/delivery/internal/domain/restaurant.go -------------------------------------------------------------------------------- /delivery/internal/handlers/openapi.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stackus/ftgogo/HEAD/delivery/internal/handlers/openapi.yaml -------------------------------------------------------------------------------- /delivery/internal/handlers/order_event_handlers.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stackus/ftgogo/HEAD/delivery/internal/handlers/order_event_handlers.go -------------------------------------------------------------------------------- /delivery/internal/handlers/restaurant_event_handlers.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stackus/ftgogo/HEAD/delivery/internal/handlers/restaurant_event_handlers.go -------------------------------------------------------------------------------- /delivery/internal/handlers/rpc_handlers.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stackus/ftgogo/HEAD/delivery/internal/handlers/rpc_handlers.go -------------------------------------------------------------------------------- /delivery/internal/handlers/ticket_event_handlers.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stackus/ftgogo/HEAD/delivery/internal/handlers/ticket_event_handlers.go -------------------------------------------------------------------------------- /deployment/kubernetes/accounting-service.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stackus/ftgogo/HEAD/deployment/kubernetes/accounting-service.yaml -------------------------------------------------------------------------------- /deployment/kubernetes/config-map.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stackus/ftgogo/HEAD/deployment/kubernetes/config-map.yaml -------------------------------------------------------------------------------- /deployment/kubernetes/namespace.yaml: -------------------------------------------------------------------------------- 1 | apiVersion: v1 2 | kind: Namespace 3 | metadata: 4 | name: ftgogo 5 | -------------------------------------------------------------------------------- /deployment/kubernetes/postgresql.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stackus/ftgogo/HEAD/deployment/kubernetes/postgresql.yaml -------------------------------------------------------------------------------- /deployment/kubernetes/stan.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stackus/ftgogo/HEAD/deployment/kubernetes/stan.yaml -------------------------------------------------------------------------------- /docker-compose-monolith.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stackus/ftgogo/HEAD/docker-compose-monolith.yml -------------------------------------------------------------------------------- /docker-compose-use-kafka.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stackus/ftgogo/HEAD/docker-compose-use-kafka.yml -------------------------------------------------------------------------------- /docker-compose.development.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stackus/ftgogo/HEAD/docker-compose.development.yml -------------------------------------------------------------------------------- /docker-compose.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stackus/ftgogo/HEAD/docker-compose.yml -------------------------------------------------------------------------------- /docs/architecture.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stackus/ftgogo/HEAD/docs/architecture.png -------------------------------------------------------------------------------- /docs/cancelOrderSaga.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stackus/ftgogo/HEAD/docs/cancelOrderSaga.png -------------------------------------------------------------------------------- /docs/createOrderSaga.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stackus/ftgogo/HEAD/docs/createOrderSaga.png -------------------------------------------------------------------------------- /docs/diagrams.plantuml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stackus/ftgogo/HEAD/docs/diagrams.plantuml -------------------------------------------------------------------------------- /docs/hexagonal_architecture_w.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stackus/ftgogo/HEAD/docs/hexagonal_architecture_w.png -------------------------------------------------------------------------------- /docs/outbox_pattern_bg.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stackus/ftgogo/HEAD/docs/outbox_pattern_bg.png -------------------------------------------------------------------------------- /docs/reviseOrderSaga.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stackus/ftgogo/HEAD/docs/reviseOrderSaga.png -------------------------------------------------------------------------------- /docs/theme.plantuml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stackus/ftgogo/HEAD/docs/theme.plantuml -------------------------------------------------------------------------------- /kitchen/cmd/cdc/main.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stackus/ftgogo/HEAD/kitchen/cmd/cdc/main.go -------------------------------------------------------------------------------- /kitchen/cmd/service/.env: -------------------------------------------------------------------------------- 1 | SERVICE_ID=kitchen-service -------------------------------------------------------------------------------- /kitchen/cmd/service/main.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stackus/ftgogo/HEAD/kitchen/cmd/service/main.go -------------------------------------------------------------------------------- /kitchen/feature_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stackus/ftgogo/HEAD/kitchen/feature_test.go -------------------------------------------------------------------------------- /kitchen/features/accept_ticket.feature: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stackus/ftgogo/HEAD/kitchen/features/accept_ticket.feature -------------------------------------------------------------------------------- /kitchen/features/cancel_ticket.feature: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stackus/ftgogo/HEAD/kitchen/features/cancel_ticket.feature -------------------------------------------------------------------------------- /kitchen/features/create_ticket.feature: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stackus/ftgogo/HEAD/kitchen/features/create_ticket.feature -------------------------------------------------------------------------------- /kitchen/features/get_ticket.feature: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stackus/ftgogo/HEAD/kitchen/features/get_ticket.feature -------------------------------------------------------------------------------- /kitchen/features/revise_ticket.feature: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stackus/ftgogo/HEAD/kitchen/features/revise_ticket.feature -------------------------------------------------------------------------------- /kitchen/features/steps/accept_ticket.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stackus/ftgogo/HEAD/kitchen/features/steps/accept_ticket.go -------------------------------------------------------------------------------- /kitchen/features/steps/cancel_ticket.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stackus/ftgogo/HEAD/kitchen/features/steps/cancel_ticket.go -------------------------------------------------------------------------------- /kitchen/features/steps/create_restaurant.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stackus/ftgogo/HEAD/kitchen/features/steps/create_restaurant.go -------------------------------------------------------------------------------- /kitchen/features/steps/create_ticket.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stackus/ftgogo/HEAD/kitchen/features/steps/create_ticket.go -------------------------------------------------------------------------------- /kitchen/features/steps/feature_state.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stackus/ftgogo/HEAD/kitchen/features/steps/feature_state.go -------------------------------------------------------------------------------- /kitchen/features/steps/get_ticket.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stackus/ftgogo/HEAD/kitchen/features/steps/get_ticket.go -------------------------------------------------------------------------------- /kitchen/features/steps/revise_ticket.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stackus/ftgogo/HEAD/kitchen/features/steps/revise_ticket.go -------------------------------------------------------------------------------- /kitchen/go.mod: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stackus/ftgogo/HEAD/kitchen/go.mod -------------------------------------------------------------------------------- /kitchen/go.sum: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stackus/ftgogo/HEAD/kitchen/go.sum -------------------------------------------------------------------------------- /kitchen/internal/adapters/restaurant_inmem_repository.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stackus/ftgogo/HEAD/kitchen/internal/adapters/restaurant_inmem_repository.go -------------------------------------------------------------------------------- /kitchen/internal/adapters/restaurant_postgres_repository.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stackus/ftgogo/HEAD/kitchen/internal/adapters/restaurant_postgres_repository.go -------------------------------------------------------------------------------- /kitchen/internal/adapters/ticket_aggregate_repository.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stackus/ftgogo/HEAD/kitchen/internal/adapters/ticket_aggregate_repository.go -------------------------------------------------------------------------------- /kitchen/internal/adapters/ticket_entity_event_publisher.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stackus/ftgogo/HEAD/kitchen/internal/adapters/ticket_entity_event_publisher.go -------------------------------------------------------------------------------- /kitchen/internal/adapters/ticket_repository_publisher_middleware.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stackus/ftgogo/HEAD/kitchen/internal/adapters/ticket_repository_publisher_middleware.go -------------------------------------------------------------------------------- /kitchen/internal/application/commands/accept_ticket.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stackus/ftgogo/HEAD/kitchen/internal/application/commands/accept_ticket.go -------------------------------------------------------------------------------- /kitchen/internal/application/commands/begin_cancel_ticket.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stackus/ftgogo/HEAD/kitchen/internal/application/commands/begin_cancel_ticket.go -------------------------------------------------------------------------------- /kitchen/internal/application/commands/begin_revise_ticket.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stackus/ftgogo/HEAD/kitchen/internal/application/commands/begin_revise_ticket.go -------------------------------------------------------------------------------- /kitchen/internal/application/commands/cancel_create_ticket.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stackus/ftgogo/HEAD/kitchen/internal/application/commands/cancel_create_ticket.go -------------------------------------------------------------------------------- /kitchen/internal/application/commands/confirm_cancel_ticket.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stackus/ftgogo/HEAD/kitchen/internal/application/commands/confirm_cancel_ticket.go -------------------------------------------------------------------------------- /kitchen/internal/application/commands/confirm_create_ticket.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stackus/ftgogo/HEAD/kitchen/internal/application/commands/confirm_create_ticket.go -------------------------------------------------------------------------------- /kitchen/internal/application/commands/confirm_revise_ticket.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stackus/ftgogo/HEAD/kitchen/internal/application/commands/confirm_revise_ticket.go -------------------------------------------------------------------------------- /kitchen/internal/application/commands/create_restaurant.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stackus/ftgogo/HEAD/kitchen/internal/application/commands/create_restaurant.go -------------------------------------------------------------------------------- /kitchen/internal/application/commands/create_ticket.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stackus/ftgogo/HEAD/kitchen/internal/application/commands/create_ticket.go -------------------------------------------------------------------------------- /kitchen/internal/application/commands/revise_restaurant_menu.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stackus/ftgogo/HEAD/kitchen/internal/application/commands/revise_restaurant_menu.go -------------------------------------------------------------------------------- /kitchen/internal/application/commands/undo_cancel_ticket.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stackus/ftgogo/HEAD/kitchen/internal/application/commands/undo_cancel_ticket.go -------------------------------------------------------------------------------- /kitchen/internal/application/commands/undo_revise_ticket.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stackus/ftgogo/HEAD/kitchen/internal/application/commands/undo_revise_ticket.go -------------------------------------------------------------------------------- /kitchen/internal/application/ports/restaurant_repository.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stackus/ftgogo/HEAD/kitchen/internal/application/ports/restaurant_repository.go -------------------------------------------------------------------------------- /kitchen/internal/application/ports/ticket_publisher.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stackus/ftgogo/HEAD/kitchen/internal/application/ports/ticket_publisher.go -------------------------------------------------------------------------------- /kitchen/internal/application/ports/ticket_repository.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stackus/ftgogo/HEAD/kitchen/internal/application/ports/ticket_repository.go -------------------------------------------------------------------------------- /kitchen/internal/application/queries/get_restaurant.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stackus/ftgogo/HEAD/kitchen/internal/application/queries/get_restaurant.go -------------------------------------------------------------------------------- /kitchen/internal/application/queries/get_ticket.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stackus/ftgogo/HEAD/kitchen/internal/application/queries/get_ticket.go -------------------------------------------------------------------------------- /kitchen/internal/application/service.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stackus/ftgogo/HEAD/kitchen/internal/application/service.go -------------------------------------------------------------------------------- /kitchen/internal/domain/register_types.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stackus/ftgogo/HEAD/kitchen/internal/domain/register_types.go -------------------------------------------------------------------------------- /kitchen/internal/domain/restaurant.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stackus/ftgogo/HEAD/kitchen/internal/domain/restaurant.go -------------------------------------------------------------------------------- /kitchen/internal/domain/ticket.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stackus/ftgogo/HEAD/kitchen/internal/domain/ticket.go -------------------------------------------------------------------------------- /kitchen/internal/domain/ticket_commands.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stackus/ftgogo/HEAD/kitchen/internal/domain/ticket_commands.go -------------------------------------------------------------------------------- /kitchen/internal/domain/ticket_events.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stackus/ftgogo/HEAD/kitchen/internal/domain/ticket_events.go -------------------------------------------------------------------------------- /kitchen/internal/domain/ticket_snapshots.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stackus/ftgogo/HEAD/kitchen/internal/domain/ticket_snapshots.go -------------------------------------------------------------------------------- /kitchen/internal/handlers/command_handlers.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stackus/ftgogo/HEAD/kitchen/internal/handlers/command_handlers.go -------------------------------------------------------------------------------- /kitchen/internal/handlers/openapi.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stackus/ftgogo/HEAD/kitchen/internal/handlers/openapi.yaml -------------------------------------------------------------------------------- /kitchen/internal/handlers/restaurant_event_handlers.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stackus/ftgogo/HEAD/kitchen/internal/handlers/restaurant_event_handlers.go -------------------------------------------------------------------------------- /kitchen/internal/handlers/rpc_handlers.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stackus/ftgogo/HEAD/kitchen/internal/handlers/rpc_handlers.go -------------------------------------------------------------------------------- /kitchen/kitcmod/setup.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stackus/ftgogo/HEAD/kitchen/kitcmod/setup.go -------------------------------------------------------------------------------- /monolith/cmd/service/.env: -------------------------------------------------------------------------------- 1 | SERVICE_ID=ftgogo-monolith 2 | -------------------------------------------------------------------------------- /monolith/cmd/service/main.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stackus/ftgogo/HEAD/monolith/cmd/service/main.go -------------------------------------------------------------------------------- /monolith/go.mod: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stackus/ftgogo/HEAD/monolith/go.mod -------------------------------------------------------------------------------- /monolith/go.sum: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stackus/ftgogo/HEAD/monolith/go.sum -------------------------------------------------------------------------------- /order-history/cmd/service/.env: -------------------------------------------------------------------------------- 1 | SERVICE_ID=order-history-service -------------------------------------------------------------------------------- /order-history/cmd/service/main.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stackus/ftgogo/HEAD/order-history/cmd/service/main.go -------------------------------------------------------------------------------- /order-history/go.mod: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stackus/ftgogo/HEAD/order-history/go.mod -------------------------------------------------------------------------------- /order-history/go.sum: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stackus/ftgogo/HEAD/order-history/go.sum -------------------------------------------------------------------------------- /order-history/internal/adapters/order_history_postgres_repository.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stackus/ftgogo/HEAD/order-history/internal/adapters/order_history_postgres_repository.go -------------------------------------------------------------------------------- /order-history/internal/adapters/order_history_repository.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stackus/ftgogo/HEAD/order-history/internal/adapters/order_history_repository.go -------------------------------------------------------------------------------- /order-history/internal/application/commands/create_order_history.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stackus/ftgogo/HEAD/order-history/internal/application/commands/create_order_history.go -------------------------------------------------------------------------------- /order-history/internal/application/commands/update_order_status.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stackus/ftgogo/HEAD/order-history/internal/application/commands/update_order_status.go -------------------------------------------------------------------------------- /order-history/internal/application/queries/get_order_history.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stackus/ftgogo/HEAD/order-history/internal/application/queries/get_order_history.go -------------------------------------------------------------------------------- /order-history/internal/application/queries/search_order_histories.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stackus/ftgogo/HEAD/order-history/internal/application/queries/search_order_histories.go -------------------------------------------------------------------------------- /order-history/internal/application/queries/spec.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stackus/ftgogo/HEAD/order-history/internal/application/queries/spec.yaml -------------------------------------------------------------------------------- /order-history/internal/application/service.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stackus/ftgogo/HEAD/order-history/internal/application/service.go -------------------------------------------------------------------------------- /order-history/internal/domain/order_history.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stackus/ftgogo/HEAD/order-history/internal/domain/order_history.go -------------------------------------------------------------------------------- /order-history/internal/handlers/openapi.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stackus/ftgogo/HEAD/order-history/internal/handlers/openapi.yaml -------------------------------------------------------------------------------- /order-history/internal/handlers/order_event_handlers.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stackus/ftgogo/HEAD/order-history/internal/handlers/order_event_handlers.go -------------------------------------------------------------------------------- /order-history/internal/handlers/rpc_handlers.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stackus/ftgogo/HEAD/order-history/internal/handlers/rpc_handlers.go -------------------------------------------------------------------------------- /order-history/ohismod/setup.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stackus/ftgogo/HEAD/order-history/ohismod/setup.go -------------------------------------------------------------------------------- /order/cmd/cdc/main.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stackus/ftgogo/HEAD/order/cmd/cdc/main.go -------------------------------------------------------------------------------- /order/cmd/service/.env: -------------------------------------------------------------------------------- 1 | SERVICE_ID=order-service -------------------------------------------------------------------------------- /order/cmd/service/main.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stackus/ftgogo/HEAD/order/cmd/service/main.go -------------------------------------------------------------------------------- /order/feature_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stackus/ftgogo/HEAD/order/feature_test.go -------------------------------------------------------------------------------- /order/features/approve_order.feature: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stackus/ftgogo/HEAD/order/features/approve_order.feature -------------------------------------------------------------------------------- /order/features/cancel_order.feature: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stackus/ftgogo/HEAD/order/features/cancel_order.feature -------------------------------------------------------------------------------- /order/features/create_order.feature: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stackus/ftgogo/HEAD/order/features/create_order.feature -------------------------------------------------------------------------------- /order/features/reject_order.feature: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stackus/ftgogo/HEAD/order/features/reject_order.feature -------------------------------------------------------------------------------- /order/features/revise_order.feature: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stackus/ftgogo/HEAD/order/features/revise_order.feature -------------------------------------------------------------------------------- /order/features/steps/cancel_order.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stackus/ftgogo/HEAD/order/features/steps/cancel_order.go -------------------------------------------------------------------------------- /order/features/steps/create_order.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stackus/ftgogo/HEAD/order/features/steps/create_order.go -------------------------------------------------------------------------------- /order/features/steps/create_restaurant.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stackus/ftgogo/HEAD/order/features/steps/create_restaurant.go -------------------------------------------------------------------------------- /order/features/steps/feature_data.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stackus/ftgogo/HEAD/order/features/steps/feature_data.go -------------------------------------------------------------------------------- /order/features/steps/feature_state.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stackus/ftgogo/HEAD/order/features/steps/feature_state.go -------------------------------------------------------------------------------- /order/features/steps/get_order.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stackus/ftgogo/HEAD/order/features/steps/get_order.go -------------------------------------------------------------------------------- /order/features/steps/revise_order.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stackus/ftgogo/HEAD/order/features/steps/revise_order.go -------------------------------------------------------------------------------- /order/go.mod: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stackus/ftgogo/HEAD/order/go.mod -------------------------------------------------------------------------------- /order/go.sum: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stackus/ftgogo/HEAD/order/go.sum -------------------------------------------------------------------------------- /order/internal/adapters/cancel_order_orchestration_saga.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stackus/ftgogo/HEAD/order/internal/adapters/cancel_order_orchestration_saga.go -------------------------------------------------------------------------------- /order/internal/adapters/create_order_orchestration_saga.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stackus/ftgogo/HEAD/order/internal/adapters/create_order_orchestration_saga.go -------------------------------------------------------------------------------- /order/internal/adapters/inmem_counter.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stackus/ftgogo/HEAD/order/internal/adapters/inmem_counter.go -------------------------------------------------------------------------------- /order/internal/adapters/order_aggregate_respository.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stackus/ftgogo/HEAD/order/internal/adapters/order_aggregate_respository.go -------------------------------------------------------------------------------- /order/internal/adapters/order_entity_event_publisher.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stackus/ftgogo/HEAD/order/internal/adapters/order_entity_event_publisher.go -------------------------------------------------------------------------------- /order/internal/adapters/order_repository_publisher_middleware.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stackus/ftgogo/HEAD/order/internal/adapters/order_repository_publisher_middleware.go -------------------------------------------------------------------------------- /order/internal/adapters/prometheus_counter.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stackus/ftgogo/HEAD/order/internal/adapters/prometheus_counter.go -------------------------------------------------------------------------------- /order/internal/adapters/restaurant_inmem_repository.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stackus/ftgogo/HEAD/order/internal/adapters/restaurant_inmem_repository.go -------------------------------------------------------------------------------- /order/internal/adapters/restaurant_postgres_repository.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stackus/ftgogo/HEAD/order/internal/adapters/restaurant_postgres_repository.go -------------------------------------------------------------------------------- /order/internal/adapters/revise_order_orchestration_saga.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stackus/ftgogo/HEAD/order/internal/adapters/revise_order_orchestration_saga.go -------------------------------------------------------------------------------- /order/internal/application/commands/approve_order.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stackus/ftgogo/HEAD/order/internal/application/commands/approve_order.go -------------------------------------------------------------------------------- /order/internal/application/commands/begin_cancel_order.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stackus/ftgogo/HEAD/order/internal/application/commands/begin_cancel_order.go -------------------------------------------------------------------------------- /order/internal/application/commands/begin_revise_order.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stackus/ftgogo/HEAD/order/internal/application/commands/begin_revise_order.go -------------------------------------------------------------------------------- /order/internal/application/commands/confirm_cancel_order.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stackus/ftgogo/HEAD/order/internal/application/commands/confirm_cancel_order.go -------------------------------------------------------------------------------- /order/internal/application/commands/confirm_revise_order.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stackus/ftgogo/HEAD/order/internal/application/commands/confirm_revise_order.go -------------------------------------------------------------------------------- /order/internal/application/commands/create_order.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stackus/ftgogo/HEAD/order/internal/application/commands/create_order.go -------------------------------------------------------------------------------- /order/internal/application/commands/create_restaurant.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stackus/ftgogo/HEAD/order/internal/application/commands/create_restaurant.go -------------------------------------------------------------------------------- /order/internal/application/commands/reject_order.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stackus/ftgogo/HEAD/order/internal/application/commands/reject_order.go -------------------------------------------------------------------------------- /order/internal/application/commands/revise_restaurant_menu.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stackus/ftgogo/HEAD/order/internal/application/commands/revise_restaurant_menu.go -------------------------------------------------------------------------------- /order/internal/application/commands/start_cancel_order_saga.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stackus/ftgogo/HEAD/order/internal/application/commands/start_cancel_order_saga.go -------------------------------------------------------------------------------- /order/internal/application/commands/start_create_order_saga.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stackus/ftgogo/HEAD/order/internal/application/commands/start_create_order_saga.go -------------------------------------------------------------------------------- /order/internal/application/commands/start_revise_order_saga.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stackus/ftgogo/HEAD/order/internal/application/commands/start_revise_order_saga.go -------------------------------------------------------------------------------- /order/internal/application/commands/undo_cancel_order.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stackus/ftgogo/HEAD/order/internal/application/commands/undo_cancel_order.go -------------------------------------------------------------------------------- /order/internal/application/commands/undo_revise_order.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stackus/ftgogo/HEAD/order/internal/application/commands/undo_revise_order.go -------------------------------------------------------------------------------- /order/internal/application/ports/cancel_order_saga.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stackus/ftgogo/HEAD/order/internal/application/ports/cancel_order_saga.go -------------------------------------------------------------------------------- /order/internal/application/ports/counter.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stackus/ftgogo/HEAD/order/internal/application/ports/counter.go -------------------------------------------------------------------------------- /order/internal/application/ports/create_order_saga.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stackus/ftgogo/HEAD/order/internal/application/ports/create_order_saga.go -------------------------------------------------------------------------------- /order/internal/application/ports/order_publisher.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stackus/ftgogo/HEAD/order/internal/application/ports/order_publisher.go -------------------------------------------------------------------------------- /order/internal/application/ports/order_repository.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stackus/ftgogo/HEAD/order/internal/application/ports/order_repository.go -------------------------------------------------------------------------------- /order/internal/application/ports/restaurant_repository.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stackus/ftgogo/HEAD/order/internal/application/ports/restaurant_repository.go -------------------------------------------------------------------------------- /order/internal/application/ports/revise_order_saga.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stackus/ftgogo/HEAD/order/internal/application/ports/revise_order_saga.go -------------------------------------------------------------------------------- /order/internal/application/queries/get_order.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stackus/ftgogo/HEAD/order/internal/application/queries/get_order.go -------------------------------------------------------------------------------- /order/internal/application/queries/get_restaurant.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stackus/ftgogo/HEAD/order/internal/application/queries/get_restaurant.go -------------------------------------------------------------------------------- /order/internal/application/service.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stackus/ftgogo/HEAD/order/internal/application/service.go -------------------------------------------------------------------------------- /order/internal/domain/cancel_order_saga_data.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stackus/ftgogo/HEAD/order/internal/domain/cancel_order_saga_data.go -------------------------------------------------------------------------------- /order/internal/domain/create_order_saga_data.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stackus/ftgogo/HEAD/order/internal/domain/create_order_saga_data.go -------------------------------------------------------------------------------- /order/internal/domain/order.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stackus/ftgogo/HEAD/order/internal/domain/order.go -------------------------------------------------------------------------------- /order/internal/domain/order_commands.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stackus/ftgogo/HEAD/order/internal/domain/order_commands.go -------------------------------------------------------------------------------- /order/internal/domain/order_events.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stackus/ftgogo/HEAD/order/internal/domain/order_events.go -------------------------------------------------------------------------------- /order/internal/domain/order_snapshots.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stackus/ftgogo/HEAD/order/internal/domain/order_snapshots.go -------------------------------------------------------------------------------- /order/internal/domain/register_types.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stackus/ftgogo/HEAD/order/internal/domain/register_types.go -------------------------------------------------------------------------------- /order/internal/domain/restaurant.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stackus/ftgogo/HEAD/order/internal/domain/restaurant.go -------------------------------------------------------------------------------- /order/internal/domain/revise_order_saga_data.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stackus/ftgogo/HEAD/order/internal/domain/revise_order_saga_data.go -------------------------------------------------------------------------------- /order/internal/handlers/command_handlers.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stackus/ftgogo/HEAD/order/internal/handlers/command_handlers.go -------------------------------------------------------------------------------- /order/internal/handlers/openapi.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stackus/ftgogo/HEAD/order/internal/handlers/openapi.yaml -------------------------------------------------------------------------------- /order/internal/handlers/order_event_handlers.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stackus/ftgogo/HEAD/order/internal/handlers/order_event_handlers.go -------------------------------------------------------------------------------- /order/internal/handlers/restaurant_event_handlers.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stackus/ftgogo/HEAD/order/internal/handlers/restaurant_event_handlers.go -------------------------------------------------------------------------------- /order/internal/handlers/rpc_handlers.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stackus/ftgogo/HEAD/order/internal/handlers/rpc_handlers.go -------------------------------------------------------------------------------- /order/ordmod/setup.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stackus/ftgogo/HEAD/order/ordmod/setup.go -------------------------------------------------------------------------------- /restaurant/cmd/cdc/main.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stackus/ftgogo/HEAD/restaurant/cmd/cdc/main.go -------------------------------------------------------------------------------- /restaurant/cmd/service/.env: -------------------------------------------------------------------------------- 1 | SERVICE_ID=restaurant-service -------------------------------------------------------------------------------- /restaurant/cmd/service/main.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stackus/ftgogo/HEAD/restaurant/cmd/service/main.go -------------------------------------------------------------------------------- /restaurant/feature_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stackus/ftgogo/HEAD/restaurant/feature_test.go -------------------------------------------------------------------------------- /restaurant/features/create_restaurant.feature: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stackus/ftgogo/HEAD/restaurant/features/create_restaurant.feature -------------------------------------------------------------------------------- /restaurant/features/steps/create_restaurant.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stackus/ftgogo/HEAD/restaurant/features/steps/create_restaurant.go -------------------------------------------------------------------------------- /restaurant/features/steps/feature_data.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stackus/ftgogo/HEAD/restaurant/features/steps/feature_data.go -------------------------------------------------------------------------------- /restaurant/features/steps/feature_state.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stackus/ftgogo/HEAD/restaurant/features/steps/feature_state.go -------------------------------------------------------------------------------- /restaurant/go.mod: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stackus/ftgogo/HEAD/restaurant/go.mod -------------------------------------------------------------------------------- /restaurant/go.sum: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stackus/ftgogo/HEAD/restaurant/go.sum -------------------------------------------------------------------------------- /restaurant/internal/adapters/restaurant_entity_event_publisher.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stackus/ftgogo/HEAD/restaurant/internal/adapters/restaurant_entity_event_publisher.go -------------------------------------------------------------------------------- /restaurant/internal/adapters/restaurant_inmem_repository.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stackus/ftgogo/HEAD/restaurant/internal/adapters/restaurant_inmem_repository.go -------------------------------------------------------------------------------- /restaurant/internal/adapters/restaurant_postgres_publisher_middleware.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stackus/ftgogo/HEAD/restaurant/internal/adapters/restaurant_postgres_publisher_middleware.go -------------------------------------------------------------------------------- /restaurant/internal/adapters/restaurant_postgres_repository.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stackus/ftgogo/HEAD/restaurant/internal/adapters/restaurant_postgres_repository.go -------------------------------------------------------------------------------- /restaurant/internal/application/commands/create_restaurant.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stackus/ftgogo/HEAD/restaurant/internal/application/commands/create_restaurant.go -------------------------------------------------------------------------------- /restaurant/internal/application/ports/restaurant_publisher.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stackus/ftgogo/HEAD/restaurant/internal/application/ports/restaurant_publisher.go -------------------------------------------------------------------------------- /restaurant/internal/application/ports/restaurant_repository.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stackus/ftgogo/HEAD/restaurant/internal/application/ports/restaurant_repository.go -------------------------------------------------------------------------------- /restaurant/internal/application/queries/get_restaurant.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stackus/ftgogo/HEAD/restaurant/internal/application/queries/get_restaurant.go -------------------------------------------------------------------------------- /restaurant/internal/application/service.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stackus/ftgogo/HEAD/restaurant/internal/application/service.go -------------------------------------------------------------------------------- /restaurant/internal/domain/restaurant.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stackus/ftgogo/HEAD/restaurant/internal/domain/restaurant.go -------------------------------------------------------------------------------- /restaurant/internal/handlers/openapi.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stackus/ftgogo/HEAD/restaurant/internal/handlers/openapi.yaml -------------------------------------------------------------------------------- /restaurant/internal/handlers/rpc_handlers.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stackus/ftgogo/HEAD/restaurant/internal/handlers/rpc_handlers.go -------------------------------------------------------------------------------- /restaurant/restmod/setup.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stackus/ftgogo/HEAD/restaurant/restmod/setup.go -------------------------------------------------------------------------------- /serviceapis/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stackus/ftgogo/HEAD/serviceapis/Makefile -------------------------------------------------------------------------------- /serviceapis/accountingapi/api.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stackus/ftgogo/HEAD/serviceapis/accountingapi/api.go -------------------------------------------------------------------------------- /serviceapis/accountingapi/commands.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stackus/ftgogo/HEAD/serviceapis/accountingapi/commands.go -------------------------------------------------------------------------------- /serviceapis/accountingapi/pb/service.pb.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stackus/ftgogo/HEAD/serviceapis/accountingapi/pb/service.pb.go -------------------------------------------------------------------------------- /serviceapis/accountingapi/pb/service.proto: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stackus/ftgogo/HEAD/serviceapis/accountingapi/pb/service.proto -------------------------------------------------------------------------------- /serviceapis/accountingapi/pb/service_grpc.pb.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stackus/ftgogo/HEAD/serviceapis/accountingapi/pb/service_grpc.pb.go -------------------------------------------------------------------------------- /serviceapis/accountingapi/replies.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stackus/ftgogo/HEAD/serviceapis/accountingapi/replies.go -------------------------------------------------------------------------------- /serviceapis/commonapi/entities.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stackus/ftgogo/HEAD/serviceapis/commonapi/entities.go -------------------------------------------------------------------------------- /serviceapis/commonapi/pb/service.pb.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stackus/ftgogo/HEAD/serviceapis/commonapi/pb/service.pb.go -------------------------------------------------------------------------------- /serviceapis/commonapi/pb/service.proto: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stackus/ftgogo/HEAD/serviceapis/commonapi/pb/service.proto -------------------------------------------------------------------------------- /serviceapis/commonapi/spec.gen.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stackus/ftgogo/HEAD/serviceapis/commonapi/spec.gen.go -------------------------------------------------------------------------------- /serviceapis/commonapi/spec.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stackus/ftgogo/HEAD/serviceapis/commonapi/spec.yaml -------------------------------------------------------------------------------- /serviceapis/consumerapi/api.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stackus/ftgogo/HEAD/serviceapis/consumerapi/api.go -------------------------------------------------------------------------------- /serviceapis/consumerapi/commands.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stackus/ftgogo/HEAD/serviceapis/consumerapi/commands.go -------------------------------------------------------------------------------- /serviceapis/consumerapi/events.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stackus/ftgogo/HEAD/serviceapis/consumerapi/events.go -------------------------------------------------------------------------------- /serviceapis/consumerapi/pb/service.pb.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stackus/ftgogo/HEAD/serviceapis/consumerapi/pb/service.pb.go -------------------------------------------------------------------------------- /serviceapis/consumerapi/pb/service.proto: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stackus/ftgogo/HEAD/serviceapis/consumerapi/pb/service.proto -------------------------------------------------------------------------------- /serviceapis/consumerapi/pb/service_grpc.pb.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stackus/ftgogo/HEAD/serviceapis/consumerapi/pb/service_grpc.pb.go -------------------------------------------------------------------------------- /serviceapis/consumerapi/replies.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stackus/ftgogo/HEAD/serviceapis/consumerapi/replies.go -------------------------------------------------------------------------------- /serviceapis/deliveryapi/pb/service.pb.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stackus/ftgogo/HEAD/serviceapis/deliveryapi/pb/service.pb.go -------------------------------------------------------------------------------- /serviceapis/deliveryapi/pb/service.proto: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stackus/ftgogo/HEAD/serviceapis/deliveryapi/pb/service.proto -------------------------------------------------------------------------------- /serviceapis/deliveryapi/pb/service_grpc.pb.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stackus/ftgogo/HEAD/serviceapis/deliveryapi/pb/service_grpc.pb.go -------------------------------------------------------------------------------- /serviceapis/go.mod: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stackus/ftgogo/HEAD/serviceapis/go.mod -------------------------------------------------------------------------------- /serviceapis/go.sum: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stackus/ftgogo/HEAD/serviceapis/go.sum -------------------------------------------------------------------------------- /serviceapis/kitchenapi/api.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stackus/ftgogo/HEAD/serviceapis/kitchenapi/api.go -------------------------------------------------------------------------------- /serviceapis/kitchenapi/commands.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stackus/ftgogo/HEAD/serviceapis/kitchenapi/commands.go -------------------------------------------------------------------------------- /serviceapis/kitchenapi/entities.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stackus/ftgogo/HEAD/serviceapis/kitchenapi/entities.go -------------------------------------------------------------------------------- /serviceapis/kitchenapi/events.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stackus/ftgogo/HEAD/serviceapis/kitchenapi/events.go -------------------------------------------------------------------------------- /serviceapis/kitchenapi/pb/service.pb.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stackus/ftgogo/HEAD/serviceapis/kitchenapi/pb/service.pb.go -------------------------------------------------------------------------------- /serviceapis/kitchenapi/pb/service.proto: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stackus/ftgogo/HEAD/serviceapis/kitchenapi/pb/service.proto -------------------------------------------------------------------------------- /serviceapis/kitchenapi/pb/service_grpc.pb.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stackus/ftgogo/HEAD/serviceapis/kitchenapi/pb/service_grpc.pb.go -------------------------------------------------------------------------------- /serviceapis/kitchenapi/replies.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stackus/ftgogo/HEAD/serviceapis/kitchenapi/replies.go -------------------------------------------------------------------------------- /serviceapis/orderapi/api.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stackus/ftgogo/HEAD/serviceapis/orderapi/api.go -------------------------------------------------------------------------------- /serviceapis/orderapi/commands.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stackus/ftgogo/HEAD/serviceapis/orderapi/commands.go -------------------------------------------------------------------------------- /serviceapis/orderapi/entities.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stackus/ftgogo/HEAD/serviceapis/orderapi/entities.go -------------------------------------------------------------------------------- /serviceapis/orderapi/events.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stackus/ftgogo/HEAD/serviceapis/orderapi/events.go -------------------------------------------------------------------------------- /serviceapis/orderapi/pb/service.pb.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stackus/ftgogo/HEAD/serviceapis/orderapi/pb/service.pb.go -------------------------------------------------------------------------------- /serviceapis/orderapi/pb/service.proto: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stackus/ftgogo/HEAD/serviceapis/orderapi/pb/service.proto -------------------------------------------------------------------------------- /serviceapis/orderapi/pb/service_grpc.pb.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stackus/ftgogo/HEAD/serviceapis/orderapi/pb/service_grpc.pb.go -------------------------------------------------------------------------------- /serviceapis/orderapi/replies.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stackus/ftgogo/HEAD/serviceapis/orderapi/replies.go -------------------------------------------------------------------------------- /serviceapis/orderhistoryapi/pb/service.pb.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stackus/ftgogo/HEAD/serviceapis/orderhistoryapi/pb/service.pb.go -------------------------------------------------------------------------------- /serviceapis/orderhistoryapi/pb/service.proto: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stackus/ftgogo/HEAD/serviceapis/orderhistoryapi/pb/service.proto -------------------------------------------------------------------------------- /serviceapis/orderhistoryapi/pb/service_grpc.pb.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stackus/ftgogo/HEAD/serviceapis/orderhistoryapi/pb/service_grpc.pb.go -------------------------------------------------------------------------------- /serviceapis/register_types.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stackus/ftgogo/HEAD/serviceapis/register_types.go -------------------------------------------------------------------------------- /serviceapis/restaurantapi/api.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stackus/ftgogo/HEAD/serviceapis/restaurantapi/api.go -------------------------------------------------------------------------------- /serviceapis/restaurantapi/commands.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stackus/ftgogo/HEAD/serviceapis/restaurantapi/commands.go -------------------------------------------------------------------------------- /serviceapis/restaurantapi/entities.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stackus/ftgogo/HEAD/serviceapis/restaurantapi/entities.go -------------------------------------------------------------------------------- /serviceapis/restaurantapi/events.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stackus/ftgogo/HEAD/serviceapis/restaurantapi/events.go -------------------------------------------------------------------------------- /serviceapis/restaurantapi/pb/service.pb.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stackus/ftgogo/HEAD/serviceapis/restaurantapi/pb/service.pb.go -------------------------------------------------------------------------------- /serviceapis/restaurantapi/pb/service.proto: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stackus/ftgogo/HEAD/serviceapis/restaurantapi/pb/service.proto -------------------------------------------------------------------------------- /serviceapis/restaurantapi/pb/service_grpc.pb.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stackus/ftgogo/HEAD/serviceapis/restaurantapi/pb/service_grpc.pb.go -------------------------------------------------------------------------------- /serviceapis/restaurantapi/replies.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stackus/ftgogo/HEAD/serviceapis/restaurantapi/replies.go -------------------------------------------------------------------------------- /serviceapis/restaurantapi/spec.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stackus/ftgogo/HEAD/serviceapis/restaurantapi/spec.yaml -------------------------------------------------------------------------------- /shared-go/applications/cdc.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stackus/ftgogo/HEAD/shared-go/applications/cdc.go -------------------------------------------------------------------------------- /shared-go/applications/gateway.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stackus/ftgogo/HEAD/shared-go/applications/gateway.go -------------------------------------------------------------------------------- /shared-go/applications/monolith.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stackus/ftgogo/HEAD/shared-go/applications/monolith.go -------------------------------------------------------------------------------- /shared-go/applications/service.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stackus/ftgogo/HEAD/shared-go/applications/service.go -------------------------------------------------------------------------------- /shared-go/applications/shared.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stackus/ftgogo/HEAD/shared-go/applications/shared.go -------------------------------------------------------------------------------- /shared-go/egress/options.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stackus/ftgogo/HEAD/shared-go/egress/options.go -------------------------------------------------------------------------------- /shared-go/egress/waiter.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stackus/ftgogo/HEAD/shared-go/egress/waiter.go -------------------------------------------------------------------------------- /shared-go/go.mod: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stackus/ftgogo/HEAD/shared-go/go.mod -------------------------------------------------------------------------------- /shared-go/go.sum: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stackus/ftgogo/HEAD/shared-go/go.sum -------------------------------------------------------------------------------- /shared-go/instrumentation/message.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stackus/ftgogo/HEAD/shared-go/instrumentation/message.go -------------------------------------------------------------------------------- /shared-go/instrumentation/web.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stackus/ftgogo/HEAD/shared-go/instrumentation/web.go -------------------------------------------------------------------------------- /shared-go/logging/logger.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stackus/ftgogo/HEAD/shared-go/logging/logger.go -------------------------------------------------------------------------------- /shared-go/logging/zapto/logger.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stackus/ftgogo/HEAD/shared-go/logging/zapto/logger.go -------------------------------------------------------------------------------- /shared-go/logging/zerologto/logger.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stackus/ftgogo/HEAD/shared-go/logging/zerologto/logger.go -------------------------------------------------------------------------------- /shared-go/rpc/client.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stackus/ftgogo/HEAD/shared-go/rpc/client.go -------------------------------------------------------------------------------- /shared-go/rpc/client_options.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stackus/ftgogo/HEAD/shared-go/rpc/client_options.go -------------------------------------------------------------------------------- /shared-go/rpc/logging.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stackus/ftgogo/HEAD/shared-go/rpc/logging.go -------------------------------------------------------------------------------- /shared-go/rpc/server.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stackus/ftgogo/HEAD/shared-go/rpc/server.go -------------------------------------------------------------------------------- /shared-go/rpc/server_options.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stackus/ftgogo/HEAD/shared-go/rpc/server_options.go -------------------------------------------------------------------------------- /shared-go/web/context.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stackus/ftgogo/HEAD/shared-go/web/context.go -------------------------------------------------------------------------------- /shared-go/web/error_response.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stackus/ftgogo/HEAD/shared-go/web/error_response.go -------------------------------------------------------------------------------- /shared-go/web/logging.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stackus/ftgogo/HEAD/shared-go/web/logging.go -------------------------------------------------------------------------------- /shared-go/web/server.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stackus/ftgogo/HEAD/shared-go/web/server.go -------------------------------------------------------------------------------- /shared-go/web/server_options.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stackus/ftgogo/HEAD/shared-go/web/server_options.go -------------------------------------------------------------------------------- /shared-go/web/spec.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stackus/ftgogo/HEAD/shared-go/web/spec.yaml -------------------------------------------------------------------------------- /store-web/cmd/gateway/main.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stackus/ftgogo/HEAD/store-web/cmd/gateway/main.go -------------------------------------------------------------------------------- /store-web/go.mod: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stackus/ftgogo/HEAD/store-web/go.mod -------------------------------------------------------------------------------- /store-web/go.sum: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stackus/ftgogo/HEAD/store-web/go.sum -------------------------------------------------------------------------------- /store-web/internal/adapters/accounting_grpc_repository.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stackus/ftgogo/HEAD/store-web/internal/adapters/accounting_grpc_repository.go -------------------------------------------------------------------------------- /store-web/internal/adapters/accounting_repository.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stackus/ftgogo/HEAD/store-web/internal/adapters/accounting_repository.go -------------------------------------------------------------------------------- /store-web/internal/adapters/consumer_grpc_repository.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stackus/ftgogo/HEAD/store-web/internal/adapters/consumer_grpc_repository.go -------------------------------------------------------------------------------- /store-web/internal/adapters/consumer_repository.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stackus/ftgogo/HEAD/store-web/internal/adapters/consumer_repository.go -------------------------------------------------------------------------------- /store-web/internal/adapters/delivery_grpc_repository.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stackus/ftgogo/HEAD/store-web/internal/adapters/delivery_grpc_repository.go -------------------------------------------------------------------------------- /store-web/internal/adapters/delivery_repository.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stackus/ftgogo/HEAD/store-web/internal/adapters/delivery_repository.go -------------------------------------------------------------------------------- /store-web/internal/adapters/order_grpc_repository.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stackus/ftgogo/HEAD/store-web/internal/adapters/order_grpc_repository.go -------------------------------------------------------------------------------- /store-web/internal/adapters/order_repository.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stackus/ftgogo/HEAD/store-web/internal/adapters/order_repository.go -------------------------------------------------------------------------------- /store-web/internal/adapters/restaurant_grpc_repository.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stackus/ftgogo/HEAD/store-web/internal/adapters/restaurant_grpc_repository.go -------------------------------------------------------------------------------- /store-web/internal/adapters/restaurant_repository.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stackus/ftgogo/HEAD/store-web/internal/adapters/restaurant_repository.go -------------------------------------------------------------------------------- /store-web/internal/application/commands/cancel_order.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stackus/ftgogo/HEAD/store-web/internal/application/commands/cancel_order.go -------------------------------------------------------------------------------- /store-web/internal/application/commands/create_restaurant.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stackus/ftgogo/HEAD/store-web/internal/application/commands/create_restaurant.go -------------------------------------------------------------------------------- /store-web/internal/application/commands/disable_account.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stackus/ftgogo/HEAD/store-web/internal/application/commands/disable_account.go -------------------------------------------------------------------------------- /store-web/internal/application/commands/enable_account.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stackus/ftgogo/HEAD/store-web/internal/application/commands/enable_account.go -------------------------------------------------------------------------------- /store-web/internal/application/commands/set_courier_availability.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stackus/ftgogo/HEAD/store-web/internal/application/commands/set_courier_availability.go -------------------------------------------------------------------------------- /store-web/internal/application/queries/get_account.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stackus/ftgogo/HEAD/store-web/internal/application/queries/get_account.go -------------------------------------------------------------------------------- /store-web/internal/application/queries/get_consumer.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stackus/ftgogo/HEAD/store-web/internal/application/queries/get_consumer.go -------------------------------------------------------------------------------- /store-web/internal/application/queries/get_delivery_history.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stackus/ftgogo/HEAD/store-web/internal/application/queries/get_delivery_history.go -------------------------------------------------------------------------------- /store-web/internal/application/queries/get_order.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stackus/ftgogo/HEAD/store-web/internal/application/queries/get_order.go -------------------------------------------------------------------------------- /store-web/internal/application/queries/get_restaurant.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stackus/ftgogo/HEAD/store-web/internal/application/queries/get_restaurant.go -------------------------------------------------------------------------------- /store-web/internal/application/service.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stackus/ftgogo/HEAD/store-web/internal/application/service.go -------------------------------------------------------------------------------- /store-web/internal/domain/account.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stackus/ftgogo/HEAD/store-web/internal/domain/account.go -------------------------------------------------------------------------------- /store-web/internal/domain/consumer.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stackus/ftgogo/HEAD/store-web/internal/domain/consumer.go -------------------------------------------------------------------------------- /store-web/internal/domain/courier.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stackus/ftgogo/HEAD/store-web/internal/domain/courier.go -------------------------------------------------------------------------------- /store-web/internal/domain/delivery.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stackus/ftgogo/HEAD/store-web/internal/domain/delivery.go -------------------------------------------------------------------------------- /store-web/internal/domain/delivery_history.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stackus/ftgogo/HEAD/store-web/internal/domain/delivery_history.go -------------------------------------------------------------------------------- /store-web/internal/domain/order.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stackus/ftgogo/HEAD/store-web/internal/domain/order.go -------------------------------------------------------------------------------- /store-web/internal/domain/restaurant.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stackus/ftgogo/HEAD/store-web/internal/domain/restaurant.go -------------------------------------------------------------------------------- /store-web/internal/handlers/oapi-codegen.cfg.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stackus/ftgogo/HEAD/store-web/internal/handlers/oapi-codegen.cfg.yaml -------------------------------------------------------------------------------- /store-web/internal/handlers/openapi.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stackus/ftgogo/HEAD/store-web/internal/handlers/openapi.yaml -------------------------------------------------------------------------------- /store-web/internal/handlers/web_handlers.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stackus/ftgogo/HEAD/store-web/internal/handlers/web_handlers.go -------------------------------------------------------------------------------- /store-web/internal/handlers/web_server_api.gen.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stackus/ftgogo/HEAD/store-web/internal/handlers/web_server_api.gen.go --------------------------------------------------------------------------------