Skip to content

feat: harden API and add automated tests - #4

Merged
cezikmertcan merged 2 commits into
mainfrom
feature/api-hardening-and-tests
Aug 19, 2026
Merged

feat: harden API and add automated tests#4
cezikmertcan merged 2 commits into
mainfrom
feature/api-hardening-and-tests

Conversation

@cezikmertcan

Copy link
Copy Markdown
Owner

Summary\n\n- add global ProblemDetails handling for unexpected and duplicate-key errors\n- add IP-based fixed-window rate limiting\n- add security response headers\n- document JWT Bearer auth in Swagger\n- add JWT claim, domain contract, and API liveness smoke tests\n\n## Verification\n\n- 5 tests pass with Cobertura coverage collection\n- Swagger exposes the Bearer scheme\n- live/ready endpoints return 200 with local MongoDB and Redis\n- duplicate event slug returns a structured 409 ProblemDetails response\n- security headers are present

@cezikmertcan
cezikmertcan merged commit c1b0e48 into main Aug 19, 2026
1 check passed
@cezikmertcan
cezikmertcan deleted the feature/api-hardening-and-tests branch August 19, 2026 12:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant