{"id":16233772,"url":"https://github.com/akondas/flighthub","last_synced_at":"2025-07-08T08:08:33.524Z","repository":{"id":86313282,"uuid":"157504147","full_name":"akondas/flighthub","owner":"akondas","description":"Flight ticket booking system implemented with CQRS and ES.","archived":false,"fork":false,"pushed_at":"2018-11-25T21:50:20.000Z","size":4894,"stargazers_count":26,"open_issues_count":0,"forks_count":1,"subscribers_count":10,"default_branch":"master","last_synced_at":"2025-02-28T19:21:21.336Z","etag":null,"topics":["cqrs","cqrs-es","event-machine","event-sourcing","event-storming"],"latest_commit_sha":null,"homepage":"","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/akondas.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-11-14T06:48:57.000Z","updated_at":"2024-09-11T03:16:47.000Z","dependencies_parsed_at":"2023-03-13T09:47:04.290Z","dependency_job_id":null,"html_url":"https://github.com/akondas/flighthub","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/akondas%2Fflighthub","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/akondas%2Fflighthub/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/akondas%2Fflighthub/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/akondas%2Fflighthub/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/akondas","download_url":"https://codeload.github.com/akondas/flighthub/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243997127,"owners_count":20380981,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["cqrs","cqrs-es","event-machine","event-sourcing","event-storming"],"created_at":"2024-10-10T13:13:50.221Z","updated_at":"2025-03-19T14:31:44.866Z","avatar_url":"https://github.com/akondas.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# FlightHub\n\n[![Minimum PHP Version](https://img.shields.io/badge/php-%3E%3D%207.1-8892BF.svg)](https://php.net/)\n[![Build Status](https://travis-ci.org/akondas/flighthub.svg?branch=master)](https://travis-ci.org/akondas/flighthub)\n[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)\n\nFlight ticket booking system implemented with CQRS and ES.\n\n![FlightHub](eventstorming.png \"FlightHub\")\n\n\u003e Graph generated from `eventstorming.md` using webeventstorming.com\n\n## Features\n\n### Commands\n- [x] Add new flight\n- [x] Reserve ticket\n- [x] Block seat (with Optimistic Offline Lock)\n- [ ] Confirm reservation (with Pessimistic Offline Lock)\n- [ ] Cancel reservation (with Implicit Lock)\n- [ ] Register customer\n- [ ] Add customer address\n- [ ] Change customer email (with Coarse-Grained Lock)\n\n\u003e Offline Concurrency Patterns presentation showcase\n\n### Queries\n- [x] Health check\n- [x] Show flight (by id)\n- [x] Search flight by number\n- [ ] Show customer (by id)\n- [ ] Search customers\n- [ ] Show confirmed reservations (by flightId)\n\n### Other\n- [x] Frameworkless domain (with EventMachine new **Flavour** feature)\n- [ ] Custom projections\n- [ ] Integration tests\n \n \n## Installation\n\n```\ndocker-compose up -d\ndocker-compose run php php scripts/create_event_stream.php\n```\n\n## Swagger UI\n\n```\nhttp://localhost:8080/swagger/index.html \n```\n\n## Testing\n\n```\ndocker-compose run php php vendor/bin/phpunit\n```\n\n## License\n\nFlightHub is released under the MIT Licence. See the bundled LICENSE file for details.\n\n## Author\n\nArkadiusz Kondas (@ArkadiuszKondas)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fakondas%2Fflighthub","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fakondas%2Fflighthub","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fakondas%2Fflighthub/lists"}