Skip to content

Improvements#18

Merged
DevinMprz merged 1 commit into
mainfrom
denys_part_improvements
May 7, 2026
Merged

Improvements#18
DevinMprz merged 1 commit into
mainfrom
denys_part_improvements

Conversation

@DevinMprz
Copy link
Copy Markdown
Owner

@DevinMprz DevinMprz commented May 7, 2026

No description provided.

…ate limiting

This commit introduces a comprehensive validation system for uploaded datasets, ensuring that the data conforms to expected structures based on the tool type. It also implements a rate limiter for the upload endpoint to prevent abuse, allowing a maximum of 20 uploads per IP every 15 minutes. The validation logic has been centralized in a new utility module, `scenarioValidator.js`, which provides a single source of truth for data validation across different upload methods.

Additionally, the API base URL is now configurable via Expo's app.json, improving flexibility for different environments.
@DevinMprz DevinMprz merged commit 7be7640 into main May 7, 2026
2 checks passed
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.

2 participants