{"id":17500759,"url":"https://github.com/shimondoodkin/salesforce-soql-query-tool","last_synced_at":"2026-05-21T07:34:17.391Z","repository":{"id":22047526,"uuid":"25376181","full_name":"shimondoodkin/salesforce-soql-query-tool","owner":"shimondoodkin","description":"http://salesforce-jsforce-proxy.herokuapp.com/","archived":false,"fork":false,"pushed_at":"2014-10-22T21:09:35.000Z","size":2988,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-25T08:26:10.374Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/shimondoodkin.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-10-17T20:38:26.000Z","updated_at":"2014-10-17T20:38:49.000Z","dependencies_parsed_at":"2022-08-20T19:10:32.217Z","dependency_job_id":null,"html_url":"https://github.com/shimondoodkin/salesforce-soql-query-tool","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shimondoodkin%2Fsalesforce-soql-query-tool","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shimondoodkin%2Fsalesforce-soql-query-tool/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shimondoodkin%2Fsalesforce-soql-query-tool/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shimondoodkin%2Fsalesforce-soql-query-tool/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/shimondoodkin","download_url":"https://codeload.github.com/shimondoodkin/salesforce-soql-query-tool/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244566931,"owners_count":20473451,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-19T18:53:32.774Z","updated_at":"2026-05-21T07:34:12.365Z","avatar_url":"https://github.com/shimondoodkin.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# JSforce AJAX Proxy\n\nA proxy server to access Salesforce API from JSforce JavaScript apps served outside of Salesforce.\n\nAs the same origin policy restricts communication to the Salesforce API from outer domain,\nyou should serve cross-domain proxy server when you build a app using JSforce outside of Salesforce.\n\nThis app will become obsolete immediately when Salesforce API supports CORS.\nI hope the day will come soon.\n\n## Usage\n\nStart proxy server in your server environment which can run Node.js app (Heroku is the one you might choose).\n\nInstall required packages :\n\n```\n$ npm install\n```\n\nRun proxy server :\n\n```\n$ node proxy.js\n```\n\nWhen you use JSforce in your JavaScript app, set `proxyUrl` when creating `Connection` instance. \n\n```\nvar conn = jsforce.Connection({\n  accessToken: '\u003caccess_token\u003e',\n  instanceUrl: '\u003cinstance_url\u003e',\n  proxyUrl: 'https://your-ajax-proxy-service.herokuapp.com/proxy/'\n});\n\nconn.query('SELECT Id, Name FROM Account', function(err, res) {\n  // ...\n});\n```\n\n## Note\n\nYou don't have to use this app when you are building a JSforce app in Visualforce,\nbecause it works in the same domain as Salesforce API.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshimondoodkin%2Fsalesforce-soql-query-tool","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fshimondoodkin%2Fsalesforce-soql-query-tool","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshimondoodkin%2Fsalesforce-soql-query-tool/lists"}