Node.js and AngularJs based Query Builder for Salesforce using OAuth2 and REST API
HTML JavaScript
Latest commit 29f9d74 Jul 25, 2015 Jitendra Zaa Merge branch 'dlively1-master'

Salesforce Query Builder using Node.Js, AngularJs, Salesforce REST API, OAuth2 and Heroku


Live Demo -

It uses Google's Angularjs MVC Javascript library and REST API provided by Salesforce. For Authentication, it uses OAuth. Node.js is used as a primary language and hosted on Heroku.

We have many tools available online for Query builder, However none of them were satisfying me so though to create my own tool.

This Node.js application is used for building SOQL with following features :

  • Toggle between API name and Label Name
  • Search Objects or Fileds needs to build SOQL (In my case, it was primitive. I had more than 70 Objects and many of those objects has 300+ fields)
  • Checkboxes to select fields (No need to hold control button to select multiple fields)
  • Automatic Query Builder at Right side of page
  • Shows API count used by application
  • Search returned records
  • Sorting on Table Headers
  • Pagination

Blog Article -

Youtube Vide

Running locally

Add connected app consumer key and callback url to .env


Then run foreman start to run application locally

Running on Heroku

Add connected app consumer key and callback url to heroku config vars

heroku config:set clientId=
heroku config:set redirectURL=