{"id":16995612,"url":"https://github.com/lynnaloo/xtuple-nodejs-rest-client-example","last_synced_at":"2025-04-15T20:38:46.284Z","repository":{"id":18977868,"uuid":"22199069","full_name":"lynnaloo/xtuple-nodejs-rest-client-example","owner":"lynnaloo","description":"xTuple ERP Node.js REST API Client Example using the Google APIs Client Library for Node.js","archived":false,"fork":false,"pushed_at":"2014-08-10T19:10:36.000Z","size":158,"stargazers_count":0,"open_issues_count":0,"forks_count":6,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-29T01:11:08.207Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/lynnaloo.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-07-24T04:34:35.000Z","updated_at":"2020-11-24T17:24:13.000Z","dependencies_parsed_at":"2022-08-05T02:02:04.041Z","dependency_job_id":null,"html_url":"https://github.com/lynnaloo/xtuple-nodejs-rest-client-example","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/lynnaloo%2Fxtuple-nodejs-rest-client-example","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lynnaloo%2Fxtuple-nodejs-rest-client-example/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lynnaloo%2Fxtuple-nodejs-rest-client-example/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lynnaloo%2Fxtuple-nodejs-rest-client-example/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lynnaloo","download_url":"https://codeload.github.com/lynnaloo/xtuple-nodejs-rest-client-example/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249149589,"owners_count":21220748,"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-14T03:49:15.818Z","updated_at":"2025-04-15T20:38:46.243Z","avatar_url":"https://github.com/lynnaloo.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"## xTuple Node.js REST ToDo Example Application\n\nNode Application to work with [xTuple REST services.](http://github.com/xtuple/xtuple)\n\n## How to Get Started:\n\n### Create new OAuth2 Client\n\nBefore you can use this client with xTuple's OAuth 2.0 Server,\nyou need to install the OAuth 2.0 extension in your xTuple application\nand create a reference for a new OAuth 2.0 Client. Be sure to select a\n\"Client Type\" of \"Service Account\" and ensure that \"Delegated Access\" is checked.\nThis will generate a private key and give you all the other information that you will\nneed to connect to the xTuple REST API.\n\n### Test this OAuth2 API Client\n\nClone this repository and run `npm install`\n\nTo start the application, run `node app.js`\n\nNavigate to `http://localhost:3000` in your browser\n\n### Set your Private Key\n\nConvert your key.p12 file to key.pem and copy it to the `keys` folder:\n\n`openssl pkcs12 -in keys/key.p12  -nocerts -nodes | openssl rsa -out keys/key.pem`\n\nEnter Import Password: 'notasecret'\n\n### Setup Environment Variables\n\n`cp sample.env .env`\n\nOpen the .env file and change the information to match what was provided\nby the xTuple OAuth 2.0 extension.\n\n### License\n\n[Apache License, Version 2.0](http://www.apache.org/licenses/LICENSE-2.0.html)\n\nCopyright (c) 2012-2013 xTuple [http://www.xtuple.com/](http://www.xtuple.com/)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flynnaloo%2Fxtuple-nodejs-rest-client-example","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flynnaloo%2Fxtuple-nodejs-rest-client-example","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flynnaloo%2Fxtuple-nodejs-rest-client-example/lists"}