Simple REST API in a modular monolith architecture written in PHP 8.3 and Symfony 7.0 and using the MongoDB database. It has the functionality of sending a message to a person.
- PHP 8.3
- Laravel Symfony 7.0
- CommandBus, QueryBus, EventBus, SharedEventBus, SharedQueryBus
- CQRS and Event-driven programming
- API documentation provided by Swagger
- MongoDB ODM configured and MongoDbMiddleware for Messenger
- CORS configured by NelmioCorsBundle
- Modules - each module has separate config, routing, Doctrine mapping etc.
- CreatePersonHandler
- RemovePersonHandle
- UpdatePersonHandler
- AskForPersonFilteredListHandler
- AskForPersonPaginatedListHandler
- FindSpecifiedPersonsHandler
- PersonFilterBuilder
- Person/UI/Controller/Person
- CreateMessageHandler
- RemoveMessageHandler
- UpdateMessageHandler
- DispatchSharedEventHandler
- AskForMessagePaginatedHandler
- FindPersonCollectionHandler
- MessageFilterBuilder
- Message/UI/Controller
Copyright © Rafał Mikołajun 2024.