This is the backend code of the funlearning website contact form, handling the api for sending contact form.
https://github.com/chency0315/funlearning_react
run npm install or yarn install to download the dependencies
npm install
post api/contactUs
{
"name":[your name],
"phone":[phone number],
"email":[your email],
"department":[department],
"subject":[your subject],
"content":[your message]
}