You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We want to have a route for receiving contact requests. This will include questions from user and contact information so that HoMEwork can respond to them easily.
Request bodies should have the following fields:
name (full name)
email
phone (phone number)
message (optional)
DO NOT STORE REQUESTS TO MONGODB
For your PR
Create POST api/contact route
Perform request body validation
Ensure email, phone number are valid
Send email using the request body (check out nodemailer, which 4FLOT used last year).
Please make sure to add an appropriate Subject so our recipients can stay organized
To Test:
Show screenshots from curl/postman with successful responses
We want to have a route for receiving contact requests. This will include questions from user and contact information so that HoMEwork can respond to them easily.
Request bodies should have the following fields:
DO NOT STORE REQUESTS TO MONGODB
For your PR
The text was updated successfully, but these errors were encountered: