How eduardosz98/cccat18_8 works
Project type and purpose
• This is a full-stack, microservice-based ride-hailing application built in Node.js/TypeScript, demonstrating Clean Architecture principles.
• It comprises five backend services—Account, Ride, Payment, Invoice, Query—plus two alternative frontends (React & Vue), end-to-end tests, Docker-Compose orchestration, and SQL scripts for schema creation.
File structure
• Top-level directories:
• backend/ — five isolated services, each with its own src/, tests, DI setup, HTTP server, database connection, queue integration, logger, gateways, repositories, application/use-cases, domain layer.
• frontend/react/ and frontend/vue/ — two SPA clients following MVC/Flux, each with its own HTTP client, domain models, and gateway abstractions.
• e2e/ — Playwright tests for cross-service user flows.
• docker-compose.yml, SQL scripts, ecosystem.config.js — deployment/orchestration.
• Each backend is a standalone process (HttpServer.ts in main.ts), uses its own database (create_xxx.sql), interacts via REST and message queues, and dispatches/consumes domain events.