devsync23 / haves-and-needs-service

0 stars 0 forks source link

[feat: backend] validation middleware for needs requests #13

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 "Need" 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.

Acceptance Criteria

Testing