Change event domain model and database structure. Because of one user can participate in many events and events can have multiple participated users, what is more event must have one owner. I decided to change structure of database. I changed relationship between these tables to many to many and one to many, thanks this changes next part of development will be much easier and faster.
Added a new feature connected with searching events by users. User have possibility to search events. This contribution allow users to search events by:
I also added a sample data for testing.
screenshot from swagger with new searching method:
details from searching by price:
Response from request: searching by price from Postman:
Implementation is divided into several parts. This is quite big change and new feature so I had to add some new classes, services, controllers and more.
As you can see in commits implementation contains:
Links: