-
Notifications
You must be signed in to change notification settings - Fork 0
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 contactRequests #21
base: main
Are you sure you want to change the base?
Conversation
Updated .env variables to include email and email app password for contact request |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me!
cf835be
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Unable to compile. Please remove the export from the removed errors/contact.ts
file
Resolves #4
Added POST api/contact route, as well as handler and validator for contact requests. Created error file for contacts and updated backend .env with testing email + app password for nodemailer.
Tested with sample contact request in postman - console logged successfully and email was sent by the homework email to the homework email (as intended).