CommunityPro / CommunityPro/ecommerce-api
Validate and Sanitize requests with Zod/Valibot
Open
- Dominant language
- TypeScript
- Stars
- 7
- Forks
- 6
- PR merge metrics
- No merged PRs in 30d
Description
Validate all requests (query, params, body) with [zod](https://zod.dev/) or [valibot](https://valibot.dev/) and throw custom error if validation fails.
Also sanitize requests after validation to prevent malicious attacks such as SQL injection and cross-site scripting (XSS).
Contributor guide
Assessment
This issue has not been assessed yet.