How anshika-75/ride-booking-system- works
Project type and purpose
• This “Ride-Booking-System” is a microservices-based backend application written in Node.js/Express.
• Its purpose is to handle all aspects of a ride-booking workflow: user management, captain (driver) management, ride requests, and an API gateway for external clients.
File structure
• Top-level directories:
• captain/ – the driver (“captain”) microservice
• ride/ – the main ride orchestration microservice
• user/ – the user account microservice
• gateway/ – the API gateway that fronts all services
• Common subfolders in each service:
• controllers/ – HTTP handler functions
• routes/ – Express routing definitions
• db/ – database connection setup
• models/ – data schemas (e.g. Mongoose models)
• middleware/ – e.g. auth middleware, token blacklisting
• service/rabbit.js – integration with RabbitMQ for pub/sub messaging
• Each microservice has its own package.json and server.js (entrypoint), indicating each runs independently.
README
• Minimal content, but the name “Ride-Booking-System” confirms domain.