All Projects → akondas → flighthub

akondas / flighthub

Licence: MIT license
Flight ticket booking system implemented with CQRS and ES.

Programming Languages

PHP
23972 projects - #3 most used programming language
HTML
75241 projects

Projects that are alternatives of or similar to flighthub

fee-office
A DDD, CQRS, ES demo application
Stars: ✭ 35 (+34.62%)
Mutual labels:  cqrs, event-sourcing, cqrs-es, event-machine
Go Cqrs All
All-in-one collection for Go CQRS / ES / DDD examples
Stars: ✭ 39 (+50%)
Mutual labels:  cqrs, event-sourcing, cqrs-es
VehicleTracker
Vehicle Tracker with Microservice example
Stars: ✭ 70 (+169.23%)
Mutual labels:  cqrs, event-sourcing, cqrs-es
Vertex
Vertex is a distributed, ultimately consistent, event traceable cross platform framework based on Orleans, which is used to build high-performance, high throughput, low latency, scalable distributed applications
Stars: ✭ 117 (+350%)
Mutual labels:  cqrs, event-sourcing, cqrs-es
Eventstore
Event store using PostgreSQL for persistence
Stars: ✭ 729 (+2703.85%)
Mutual labels:  cqrs, event-sourcing, cqrs-es
Symfony 5 Es Cqrs Boilerplate
Symfony 5 DDD ES CQRS backend boilerplate
Stars: ✭ 759 (+2819.23%)
Mutual labels:  cqrs, event-sourcing, cqrs-es
Commanded
Use Commanded to build Elixir CQRS/ES applications
Stars: ✭ 1,280 (+4823.08%)
Mutual labels:  cqrs, event-sourcing, cqrs-es
delta
DDD-centric event-sourcing library for the JVM
Stars: ✭ 15 (-42.31%)
Mutual labels:  cqrs, event-sourcing, cqrs-es
Event Sourcing Jambo
An Hexagonal Architecture with DDD + Aggregates + Event Sourcing using .NET Core, Kafka e MongoDB (Blog Engine)
Stars: ✭ 159 (+511.54%)
Mutual labels:  cqrs, event-sourcing, cqrs-es
Pos
Sample Application DDD, Reactive Microservices, CQRS Event Sourcing Powered by DERMAYON LIBRARY
Stars: ✭ 207 (+696.15%)
Mutual labels:  cqrs, event-sourcing, cqrs-es
Conduit
RealWorld example backend implementing the CQRS/ES pattern in Elixir and Phoenix
Stars: ✭ 253 (+873.08%)
Mutual labels:  cqrs, event-sourcing, cqrs-es
Awesome Elixir Cqrs
A curated list of awesome Elixir and Command Query Responsibility Segregation (CQRS) resources.
Stars: ✭ 467 (+1696.15%)
Mutual labels:  cqrs, event-sourcing, cqrs-es
Event Sourcing Cqrs Examples
Event Sourcing and CQRS in practice.
Stars: ✭ 265 (+919.23%)
Mutual labels:  cqrs, event-sourcing, cqrs-es
Rails event store
A Ruby implementation of an Event Store based on Active Record
Stars: ✭ 947 (+3542.31%)
Mutual labels:  cqrs, event-sourcing, cqrs-es
zio-event-sourcing
Purely functional concurent and scalable persistance layer implementing CQRS
Stars: ✭ 34 (+30.77%)
Mutual labels:  cqrs, event-sourcing, cqrs-es
Asombroso Ddd
Una lista cuidadosamente curada de recursos sobre Domain Driven Design, Eventos, Event Sourcing, Command Query Responsibility Segregation (CQRS).
Stars: ✭ 41 (+57.69%)
Mutual labels:  cqrs, event-sourcing, cqrs-es
Booster
Booster Cloud Framework
Stars: ✭ 136 (+423.08%)
Mutual labels:  cqrs, event-sourcing, cqrs-es
akka-persistence-foundationdb
A replicated Akka Persistence journal backed by FoundationDB
Stars: ✭ 43 (+65.38%)
Mutual labels:  cqrs, event-sourcing, cqrs-es
go-eventually
Idiomatic Event Sourcing in Go
Stars: ✭ 76 (+192.31%)
Mutual labels:  cqrs, event-sourcing, cqrs-es
eventsourcing-go
Event Sourcing + CQRS using Golang Tutorial
Stars: ✭ 75 (+188.46%)
Mutual labels:  cqrs, cqrs-es

FlightHub

Minimum PHP Version Build Status License: MIT

Flight ticket booking system implemented with CQRS and ES.

FlightHub

Graph generated from eventstorming.md using webeventstorming.com

Features

Commands

  • Add new flight
  • Reserve ticket
  • Block seat (with Optimistic Offline Lock)
  • Confirm reservation (with Pessimistic Offline Lock)
  • Cancel reservation (with Implicit Lock)
  • Register customer
  • Add customer address
  • Change customer email (with Coarse-Grained Lock)

Offline Concurrency Patterns presentation showcase

Queries

  • Health check
  • Show flight (by id)
  • Search flight by number
  • Show customer (by id)
  • Search customers
  • Show confirmed reservations (by flightId)

Other

  • Frameworkless domain (with EventMachine new Flavour feature)
  • Custom projections
  • Integration tests

Installation

docker-compose up -d
docker-compose run php php scripts/create_event_stream.php

Swagger UI

http://localhost:8080/swagger/index.html 

Testing

docker-compose run php php vendor/bin/phpunit

License

FlightHub is released under the MIT Licence. See the bundled LICENSE file for details.

Author

Arkadiusz Kondas (@ArkadiuszKondas)

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].