-
Notifications
You must be signed in to change notification settings - Fork 0
Home
kjoshi07 edited this page Sep 22, 2015
·
1 revision
- 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.)