Skip to content

Add backend validation, file upload, and Nodemailer for contact form#167

Open
gaurivvv wants to merge 1 commit intololpanda2004:mainfrom
gaurivvv:feature/contact-form-backend
Open

Add backend validation, file upload, and Nodemailer for contact form#167
gaurivvv wants to merge 1 commit intololpanda2004:mainfrom
gaurivvv:feature/contact-form-backend

Conversation

@gaurivvv
Copy link
Contributor

@gaurivvv gaurivvv commented Sep 8, 2025

  • Added backend validation for name, email, and message fields
  • Implemented file upload support (PDF/DOCX) using Multer
  • Integrated Nodemailer to send emails upon form submission
  • Enhanced security with CORS, rate limiting, and helmet headers
  • Tested API using Thunder Client

@vercel
Copy link

vercel bot commented Sep 8, 2025

@gaurivvv is attempting to deploy a commit to the LolPanda2004's projects Team on Vercel.

A member of the Team first needs to authorize it.

@github-actions
Copy link

github-actions bot commented Sep 8, 2025

Thanks for creating a PR for your Issue! ☺️

We'll review it as soon as possible.
In the meantime, please double-check the file changes and ensure that all commits are accurate.

If there are any unresolved review comments, feel free to resolve them. 🙌🏼

@lolpanda2004
Copy link
Owner

@gaurivvv there are branch conficts

@vercel
Copy link

vercel bot commented Sep 9, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Preview Comments Updated (UTC)
amour-editorial-website Ready Ready Preview Comment Sep 9, 2025 3:50pm

@gaurivvv
Copy link
Contributor Author

Hi @team,

The backend for the contact form has been fully implemented and tested. Features include:

Validation for name, email, and message fields
File upload support (PDF/DOCX) using Multer
Nodemailer integration to send emails on submission
Enhanced security with CORS, rate limiting, and helmet headers
API tested successfully using Thunder Client
All conflicts with main have been resolved and the branch is up-to-date.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants