Files
playzer/apps/backend
Jose Selesan 3b3def94ab feat: add recurring booking management functionality
- Implemented API endpoints for listing and updating recurring booking groups.
- Added handlers for listing and updating recurring groups in the backend.
- Created frontend components for displaying and editing recurring bookings.
- Enhanced booking provider to manage recurring groups and their states.
- Updated API client to include new methods for recurring bookings.
- Introduced new validation schemas for updating recurring groups.
- Added UI elements for managing recurring bookings in the booking interface.
2026-06-16 15:16:38 -03:00
..

To install dependencies:

bun install

To run:

bun run dev

open http://localhost:3000

Tests

Run all backend tests:

bun run test

Test naming convention

  • *.test.ts or *.spec.ts: service-level tests. These run with the shared Prisma preload at test/support/prisma.mock.ts.
  • *.handler.test.ts: handler-level tests. These should mock the service module locally with mock.module(...) and import the handler after the mock is in place.
  • Keep business logic tests focused on the service layer.
  • Use handler tests only to verify request parsing, status mapping, and response shaping.
  • Put shared Prisma mocking helpers in test/support/.