StreetCode icon indicating copy to clipboard operation
StreetCode copied to clipboard

New functionality of Calendar Events

Open ilko-dev opened this issue 8 months ago • 1 comments

Summary of issue

Need to create an "Events" entity for the new "Calendar" module

Summary of change

  1. Created new table "Event" in the db. Implemented TPH approach: Two entities Historical events and Custom events are in the one table and inherit base class (Event).
  2. Created DTOs for Events.
  3. Created controller for CRUD endpoints.
  4. Implemented Repository and MediatR patterns.
  5. Implemented validation for Events.
  6. Implemented Unit and Integration tests.

Summary by CodeRabbit

  • New Features
    • Introduced a comprehensive event management system for browsing, creating, updating, and deleting events.
    • Expanded support for both historical and custom events, enhancing the variety of event data available.
    • Added refined input validations and localized, user-friendly error messaging to improve overall experience.
    • Implemented pagination and filtering options for retrieving event lists.
    • Added new data transfer objects (DTOs) for better data handling in event management.
    • Introduced a new controller for managing event-related HTTP requests.

This update delivers an improved, seamless interaction with event data, ensuring smoother and more reliable event management for users.

ilko-dev avatar Mar 13 '25 13:03 ilko-dev