Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added Validations for Add-Post & Contact-Us #112

Merged
merged 1 commit into from
Oct 30, 2024

Conversation

ParasY1724
Copy link
Contributor

Issue No: #109

Implementation Done:

  • Used express-validator for adding validation middlewares
  • For Create Post , fields must be non empty , auto trims the fields , title not max then 200 words
  • For Contact Us , Email must be valid , non empty fields , etc
  • Added Flash Message for Add-Post

Output:

Valida.mp4

@sudo-dpkg sudo-dpkg merged commit aa0ece9 into sudo-dpkg:main Oct 30, 2024
2 of 3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants