- Clone the repository
- go to your project directory
- run npm install (to installed dependent modules defined in package.js)
- Change configuration parameetrs in /app/config/index.js
- chnage smpt parametrs to sending email from your credentails in /app/utils/sendEmail.js
- run node app.js to start node application on defined port in /app/config/index.js
- access your application http://localhost:yourport
##End Points End points can be find in /app/routes.js
GET ( '/': get welcome message to check api working fine.)
POST ( '/contactRequest': Create a contact request, save all information in database and send email notification.)
GET ('/contactRequest': get all contact requests saved in database.)