devsync23 / haves-and-needs-service

0 stars 0 forks source link

[feat: backend] Haves validation middleware #3

Open therealjustinbiele opened 6 months ago

therealjustinbiele commented 6 months ago

Description

As a developer, I need to create a middleware function to validate the request body when creating a new "Have" item, ensuring that the request contains the required fields: title, description, and zip code. This validation middleware will help maintain data integrity and consistency within the application.

Technical Requirements

Testing