Simple node.js application for CRUDing salesforce.com Accounts using nforce.
Deploy this app to Heroku for free and have it up and running in a matter of minutes.
From the command line type in:
git clone git@github.com:jeffdonthemic/node-nforce-demo.git
cd nforce-node-demo
npm install
These will be automatically installed when you use any of the above npm installation methods above.
- express - framework
- nforce - REST wrapper for force.com
- async - asynchronous utility module
- jade - the view engine
- Open terminal and change directory to node-nforce-demo root
node app.js- Point your browser to: http://localhost:3001
heroku create
heroku config:add CLIENT_ID=YOUR-SALESFORCE-CLIENT-ID
heroku config:add CLIENT_SECRET=YOUR-SALESFORCE-SECRET
heroku config:add USERNAME=YOUR-SALESFORCE-USERNAME
heroku config:add PASSWORD=YOUR-SALESFORCE-PASSWORD-AND-TOKEN
heroku open
This application is running on heroku at: http://node-nforce-demo.herokuapp.com/
- Jeff Douglas -> jeffdonthemic
