How jack20410/car-rental-system works
Project type and purpose
• This is a full-stack, microservices-based “Car Rental System” that handles user authentication, vehicle catalog, rental bookings, payments, notifications, support and admin/reporting.
• Each domain is isolated in its own service; there’s a React frontend and a Python-based API Gateway that routes requests to Node.js microservices.
File structure
• Top level:
• docker-compose.yml – orchestrates all containers
• api-gateway/ – FastAPI or Flask gateway (Python)
• frontend/ – React+Vite SPA
• services/ – seven domain services: user, vehicle, rental, payment, notification, support, admin
• uploads/ – shared volume for avatars & vehicle images
• Each service has its own Dockerfile, package.json, src folder, and often config (e.g. database.js), controllers, routes, models and middleware.
• Middleware layers are used in both the API Gateway (auth, logging, rate-limiting) and services.
README for additional insights
• Describes microservices architecture, features per domain, and shared directories (uploads, future libs).
• Emphasizes Docker Compose for local orchestration and independent service development.