Skip to content

[Feature] Add application level validation #9

Description

@EteimZ

The current application has validation but only on the database. It will be cool to add validation on the application side.
This validation will catch errors directly from the req.body via a middleware and return an error response to the client.

The following npm packages can be used to implement this feature: express-joi-validation and express-validator.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions