| |
|
Kompass is a web application that helps international students, or travellers in general, plan trips together. Users create travel groups, invite participants with an invitation code, propose destinations, transport, accommodation or activities, vote on those proposals, keep a shared itinerary, and chat in real time. The product is a browser-based GUI backed by five independently deployable services, a reverse proxy, a relational database and a message broker. The system is designed as a small distributed collaboration platform rather than a monolithic website. Concurrent updates to a shared itinerary, live notification of other participants, and the need to keep planning available when a non-critical component fails are the reasons for distribution. Synchronous HTTP is used for user commands and queries. Asynchronous AMQP events are used for side effects, in particular to move a winning proposal onto the itinerary after a majority vote. That path is eventually consistent and idempotent: the same vote.completed event can be delivered twice without duplicating an itinerary item. Chat is treated as a non-critical service. If it stops, groups, proposals, votes and the itinerary remain usable; the user interface degrades visibly and reconnects when the service returns. The whole stack is deployed with Docker Compose so that partial failures can be reproduced on a laptop.