add node email service integration#9
Merged
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
rebeccadrennan
pushed a commit
that referenced
this pull request
Jul 10, 2026
Co-authored-by: RebeccaDrennan <rebeccadrennan@gmail.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This pull request refactors the contact form to use a custom backend API for submissions instead of EmailJS, adds improved error handling and field-level validation feedback, and updates the form's UI and styling for better user experience.
Contact Form Backend Integration
submitContactFormfunction insrc/services/contact.ts, which sends form data to a backend API defined byVITE_CONTACT_API_URL. The API response includes success status, message, and optional field-level errors. ([[1]](https://github.com/rebeccadrennan/portfolio-react/pull/9/files#diff-8dd3c78da0d80df2c3e813868cd11a2f834f840d366533af1c85e99b6e49a9eeL2-R29),[[2]](https://github.com/rebeccadrennan/portfolio-react/pull/9/files#diff-1023cb3e82f5176961a39bf4cbd5cf862f3c9e0d15dee2308aab70d1810d2223R1-R32),[[3]](https://github.com/rebeccadrennan/portfolio-react/pull/9/files#diff-a3046da0d15a27e89f2afe639b25748a7ad4d9290af3e7b1b6c1a5533c8f0a8cR1-R5))Error Handling and Validation
[[1]](https://github.com/rebeccadrennan/portfolio-react/pull/9/files#diff-8dd3c78da0d80df2c3e813868cd11a2f834f840d366533af1c85e99b6e49a9eeL50-R99),[[2]](https://github.com/rebeccadrennan/portfolio-react/pull/9/files#diff-8dd3c78da0d80df2c3e813868cd11a2f834f840d366533af1c85e99b6e49a9eeR110-R120),[[3]](https://github.com/rebeccadrennan/portfolio-react/pull/9/files#diff-8dd3c78da0d80df2c3e813868cd11a2f834f840d366533af1c85e99b6e49a9eeL204-R175),[[4]](https://github.com/rebeccadrennan/portfolio-react/pull/9/files#diff-8dd3c78da0d80df2c3e813868cd11a2f834f840d366533af1c85e99b6e49a9eeR187-R191),[[5]](https://github.com/rebeccadrennan/portfolio-react/pull/9/files#diff-8dd3c78da0d80df2c3e813868cd11a2f834f840d366533af1c85e99b6e49a9eeR203-R207),[[6]](https://github.com/rebeccadrennan/portfolio-react/pull/9/files#diff-8dd3c78da0d80df2c3e813868cd11a2f834f840d366533af1c85e99b6e49a9eeR219-R223))UI/UX Improvements
[[1]](https://github.com/rebeccadrennan/portfolio-react/pull/9/files#diff-8dd3c78da0d80df2c3e813868cd11a2f834f840d366533af1c85e99b6e49a9eeL253-R237),[[2]](https://github.com/rebeccadrennan/portfolio-react/pull/9/files#diff-092f42bd202cf3f00100ff41827b0de13b2518587d01e79643d74dab14c740deR5-R30))Configuration Updates
.env.exampleto remove EmailJS variables and addVITE_CONTACT_API_URLfor configuring the contact form backend. ([.env.exampleR1-R5](https://github.com/rebeccadrennan/portfolio-react/pull/9/files#diff-a3046da0d15a27e89f2afe639b25748a7ad4d9290af3e7b1b6c1a5533c8f0a8cR1-R5))