simple easy to use contact form using ExpressJs & NodeJs
- git clone https://github.com/elregalo/star-wars-contact-form.git
- cd star-wars-contact-form
- add your email details to .env file
- npm run dev
- open your browser at type (http://127.0.0.1:8080), fill form and click send
- curl -X POST \
'http://127.0.0.1:8080/contact' \
--header 'Accept: */*' \
--header 'User-Agent: Thunder Client (https://www.thunderclient.com)' \
--header 'Content-Type: application/json' \
--data-raw '{
"fullNames": "John Doe",
"email": "john@doe.com",
"mobile": "+27000000000",
"message": "something worked..."
}'
-Moobi Kabelo(@elregalo)