{"action":"created","comment":{"url":"https://api.github.com/repos/aerogear/aerogear-js-sdk/pulls/comments/180652442","pull_request_review_id":111107099,"id":180652442,"diff_hunk":"@@ -1,4 +1,94 @@\n-== Getting started\n+== Getting Started with AeroGear Services JavaScript SDK\n \n-SDK is under construction. \n-No SDK available at the moment.\n+This guide provides general information for creating applications that utilize the AeroGear Services JavaScript SDK.\n+\n+== Prerequisites for Apache Cordova\n+\n+In order to develop a Cordova application utilizing the SDK you will need the following prerequisites installed:\n+\n+ * The link:https://nodejs.org/en/download/[Node.js] runtime and NPM\n+ * https://github.com/aerogear/mobile-cli[AeroGear Mobile CLI]\n+ * Apache link:https://cordova.apache.org/docs/en/latest/guide/cli/#installing-the-cordova-cli[Cordova CLI]\n+\n+== Creating an Apache Cordova application\n+\n+After installing the prerequisites, refer to the link:https://cordova.apache.org/docs/en/latest/guide/cli/index.html#create-the-app[App Creation] guide from Apache Cordova to create your first application.\n+\n+== Installing the AeroGear JavaScript SDK","path":"docs/getting-started.adoc","position":20,"original_position":20,"commit_id":"8600338cc08d2880d94aefb99e4dcaf385c95c6d","original_commit_id":"8600338cc08d2880d94aefb99e4dcaf385c95c6d","user":{"login":"josemigallas","id":11672286,"avatar_url":"https://avatars0.githubusercontent.com/u/11672286?v=4","gravatar_id":"","url":"https://api.github.com/users/josemigallas","html_url":"https://github.com/josemigallas","followers_url":"https://api.github.com/users/josemigallas/followers","following_url":"https://api.github.com/users/josemigallas/following{/other_user}","gists_url":"https://api.github.com/users/josemigallas/gists{/gist_id}","starred_url":"https://api.github.com/users/josemigallas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/josemigallas/subscriptions","organizations_url":"https://api.github.com/users/josemigallas/orgs","repos_url":"https://api.github.com/users/josemigallas/repos","events_url":"https://api.github.com/users/josemigallas/events{/privacy}","received_events_url":"https://api.github.com/users/josemigallas/received_events","type":"User","site_admin":false},"body":"Since this is a getting-started, what do you think about avoiding as much verbosity as possible? This paragraph doesn't add much, IMO. We could leave the next one with the relevant lines of code, that is `cordova plugin add @aerogearservices/core-cordova`","created_at":"2018-04-11T07:01:23Z","updated_at":"2018-04-11T07:01:23Z","html_url":"https://github.com/aerogear/aerogear-js-sdk/pull/37#discussion_r180652442","pull_request_url":"https://api.github.com/repos/aerogear/aerogear-js-sdk/pulls/37","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/aerogear/aerogear-js-sdk/pulls/comments/180652442"},"html":{"href":"https://github.com/aerogear/aerogear-js-sdk/pull/37#discussion_r180652442"},"pull_request":{"href":"https://api.github.com/repos/aerogear/aerogear-js-sdk/pulls/37"}}},"pull_request":{"url":"https://api.github.com/repos/aerogear/aerogear-js-sdk/pulls/37","id":180590336,"html_url":"https://github.com/aerogear/aerogear-js-sdk/pull/37","diff_url":"https://github.com/aerogear/aerogear-js-sdk/pull/37.diff","patch_url":"https://github.com/aerogear/aerogear-js-sdk/pull/37.patch","issue_url":"https://api.github.com/repos/aerogear/aerogear-js-sdk/issues/37","number":37,"state":"open","locked":false,"title":"WIP Getting started guide","user":{"login":"paolobueno","id":1294893,"avatar_url":"https://avatars0.githubusercontent.com/u/1294893?v=4","gravatar_id":"","url":"https://api.github.com/users/paolobueno","html_url":"https://github.com/paolobueno","followers_url":"https://api.github.com/users/paolobueno/followers","following_url":"https://api.github.com/users/paolobueno/following{/other_user}","gists_url":"https://api.github.com/users/paolobueno/gists{/gist_id}","starred_url":"https://api.github.com/users/paolobueno/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/paolobueno/subscriptions","organizations_url":"https://api.github.com/users/paolobueno/orgs","repos_url":"https://api.github.com/users/paolobueno/repos","events_url":"https://api.github.com/users/paolobueno/events{/privacy}","received_events_url":"https://api.github.com/users/paolobueno/received_events","type":"User","site_admin":false},"body":"## Motivation\r\n\r\nAdd getting started guide for the JS SDK.\r\n\r\nhttps://issues.jboss.org/browse/AGCORDOVA-200\r\n\r\n## Progress\r\n- [x] Getting Started Guide\r\n- [x] Core module skeleton\r\n- [x] Instructions to add mobile-services.json\r\n- [ ] Core module API for Logging?\r\n- [ ] Core module API for Networking?\r\n- [ ] Core module API for Metrics\r\n","created_at":"2018-04-10T12:47:14Z","updated_at":"2018-04-11T07:01:23Z","closed_at":null,"merged_at":null,"merge_commit_sha":"3492f59a837fac8b12c7923c0999fbef8cf88ac5","assignee":null,"assignees":[],"requested_reviewers":[{"login":"wtrocki","id":981838,"avatar_url":"https://avatars3.githubusercontent.com/u/981838?v=4","gravatar_id":"","url":"https://api.github.com/users/wtrocki","html_url":"https://github.com/wtrocki","followers_url":"https://api.github.com/users/wtrocki/followers","following_url":"https://api.github.com/users/wtrocki/following{/other_user}","gists_url":"https://api.github.com/users/wtrocki/gists{/gist_id}","starred_url":"https://api.github.com/users/wtrocki/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wtrocki/subscriptions","organizations_url":"https://api.github.com/users/wtrocki/orgs","repos_url":"https://api.github.com/users/wtrocki/repos","events_url":"https://api.github.com/users/wtrocki/events{/privacy}","received_events_url":"https://api.github.com/users/wtrocki/received_events","type":"User","site_admin":false},{"login":"ciaranRoche","id":14313111,"avatar_url":"https://avatars3.githubusercontent.com/u/14313111?v=4","gravatar_id":"","url":"https://api.github.com/users/ciaranRoche","html_url":"https://github.com/ciaranRoche","followers_url":"https://api.github.com/users/ciaranRoche/followers","following_url":"https://api.github.com/users/ciaranRoche/following{/other_user}","gists_url":"https://api.github.com/users/ciaranRoche/gists{/gist_id}","starred_url":"https://api.github.com/users/ciaranRoche/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ciaranRoche/subscriptions","organizations_url":"https://api.github.com/users/ciaranRoche/orgs","repos_url":"https://api.github.com/users/ciaranRoche/repos","events_url":"https://api.github.com/users/ciaranRoche/events{/privacy}","received_events_url":"https://api.github.com/users/ciaranRoche/received_events","type":"User","site_admin":false}],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/aerogear/aerogear-js-sdk/pulls/37/commits","review_comments_url":"https://api.github.com/repos/aerogear/aerogear-js-sdk/pulls/37/comments","review_comment_url":"https://api.github.com/repos/aerogear/aerogear-js-sdk/pulls/comments{/number}","comments_url":"https://api.github.com/repos/aerogear/aerogear-js-sdk/issues/37/comments","statuses_url":"https://api.github.com/repos/aerogear/aerogear-js-sdk/statuses/8600338cc08d2880d94aefb99e4dcaf385c95c6d","head":{"label":"aerogear:getting-started","ref":"getting-started","sha":"8600338cc08d2880d94aefb99e4dcaf385c95c6d","user":{"login":"aerogear","id":954205,"avatar_url":"https://avatars1.githubusercontent.com/u/954205?v=4","gravatar_id":"","url":"https://api.github.com/users/aerogear","html_url":"https://github.com/aerogear","followers_url":"https://api.github.com/users/aerogear/followers","following_url":"https://api.github.com/users/aerogear/following{/other_user}","gists_url":"https://api.github.com/users/aerogear/gists{/gist_id}","starred_url":"https://api.github.com/users/aerogear/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aerogear/subscriptions","organizations_url":"https://api.github.com/users/aerogear/orgs","repos_url":"https://api.github.com/users/aerogear/repos","events_url":"https://api.github.com/users/aerogear/events{/privacy}","received_events_url":"https://api.github.com/users/aerogear/received_events","type":"Organization","site_admin":false},"repo":{"id":121781914,"name":"aerogear-js-sdk","full_name":"aerogear/aerogear-js-sdk","owner":{"login":"aerogear","id":954205,"avatar_url":"https://avatars1.githubusercontent.com/u/954205?v=4","gravatar_id":"","url":"https://api.github.com/users/aerogear","html_url":"https://github.com/aerogear","followers_url":"https://api.github.com/users/aerogear/followers","following_url":"https://api.github.com/users/aerogear/following{/other_user}","gists_url":"https://api.github.com/users/aerogear/gists{/gist_id}","starred_url":"https://api.github.com/users/aerogear/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aerogear/subscriptions","organizations_url":"https://api.github.com/users/aerogear/orgs","repos_url":"https://api.github.com/users/aerogear/repos","events_url":"https://api.github.com/users/aerogear/events{/privacy}","received_events_url":"https://api.github.com/users/aerogear/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/aerogear/aerogear-js-sdk","description":"AeroGear SDK for javascript, Apache Cordova and React Native.","fork":false,"url":"https://api.github.com/repos/aerogear/aerogear-js-sdk","forks_url":"https://api.github.com/repos/aerogear/aerogear-js-sdk/forks","keys_url":"https://api.github.com/repos/aerogear/aerogear-js-sdk/keys{/key_id}","collaborators_url":"https://api.github.com/repos/aerogear/aerogear-js-sdk/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/aerogear/aerogear-js-sdk/teams","hooks_url":"https://api.github.com/repos/aerogear/aerogear-js-sdk/hooks","issue_events_url":"https://api.github.com/repos/aerogear/aerogear-js-sdk/issues/events{/number}","events_url":"https://api.github.com/repos/aerogear/aerogear-js-sdk/events","assignees_url":"https://api.github.com/repos/aerogear/aerogear-js-sdk/assignees{/user}","branches_url":"https://api.github.com/repos/aerogear/aerogear-js-sdk/branches{/branch}","tags_url":"https://api.github.com/repos/aerogear/aerogear-js-sdk/tags","blobs_url":"https://api.github.com/repos/aerogear/aerogear-js-sdk/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/aerogear/aerogear-js-sdk/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/aerogear/aerogear-js-sdk/git/refs{/sha}","trees_url":"https://api.github.com/repos/aerogear/aerogear-js-sdk/git/trees{/sha}","statuses_url":"https://api.github.com/repos/aerogear/aerogear-js-sdk/statuses/{sha}","languages_url":"https://api.github.com/repos/aerogear/aerogear-js-sdk/languages","stargazers_url":"https://api.github.com/repos/aerogear/aerogear-js-sdk/stargazers","contributors_url":"https://api.github.com/repos/aerogear/aerogear-js-sdk/contributors","subscribers_url":"https://api.github.com/repos/aerogear/aerogear-js-sdk/subscribers","subscription_url":"https://api.github.com/repos/aerogear/aerogear-js-sdk/subscription","commits_url":"https://api.github.com/repos/aerogear/aerogear-js-sdk/commits{/sha}","git_commits_url":"https://api.github.com/repos/aerogear/aerogear-js-sdk/git/commits{/sha}","comments_url":"https://api.github.com/repos/aerogear/aerogear-js-sdk/comments{/number}","issue_comment_url":"https://api.github.com/repos/aerogear/aerogear-js-sdk/issues/comments{/number}","contents_url":"https://api.github.com/repos/aerogear/aerogear-js-sdk/contents/{+path}","compare_url":"https://api.github.com/repos/aerogear/aerogear-js-sdk/compare/{base}...{head}","merges_url":"https://api.github.com/repos/aerogear/aerogear-js-sdk/merges","archive_url":"https://api.github.com/repos/aerogear/aerogear-js-sdk/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/aerogear/aerogear-js-sdk/downloads","issues_url":"https://api.github.com/repos/aerogear/aerogear-js-sdk/issues{/number}","pulls_url":"https://api.github.com/repos/aerogear/aerogear-js-sdk/pulls{/number}","milestones_url":"https://api.github.com/repos/aerogear/aerogear-js-sdk/milestones{/number}","notifications_url":"https://api.github.com/repos/aerogear/aerogear-js-sdk/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/aerogear/aerogear-js-sdk/labels{/name}","releases_url":"https://api.github.com/repos/aerogear/aerogear-js-sdk/releases{/id}","deployments_url":"https://api.github.com/repos/aerogear/aerogear-js-sdk/deployments","created_at":"2018-02-16T17:51:49Z","updated_at":"2018-04-10T11:40:34Z","pushed_at":"2018-04-10T14:22:53Z","git_url":"git://github.com/aerogear/aerogear-js-sdk.git","ssh_url":"git@github.com:aerogear/aerogear-js-sdk.git","clone_url":"https://github.com/aerogear/aerogear-js-sdk.git","svn_url":"https://github.com/aerogear/aerogear-js-sdk","homepage":"http://aerogear.org","size":10741,"stargazers_count":2,"watchers_count":2,"language":"TypeScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":9,"mirror_url":null,"archived":false,"open_issues_count":1,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0"},"forks":9,"open_issues":1,"watchers":2,"default_branch":"master"}},"base":{"label":"aerogear:master","ref":"master","sha":"71af370fddb6d953997d94ccf76f22e30d17e18e","user":{"login":"aerogear","id":954205,"avatar_url":"https://avatars1.githubusercontent.com/u/954205?v=4","gravatar_id":"","url":"https://api.github.com/users/aerogear","html_url":"https://github.com/aerogear","followers_url":"https://api.github.com/users/aerogear/followers","following_url":"https://api.github.com/users/aerogear/following{/other_user}","gists_url":"https://api.github.com/users/aerogear/gists{/gist_id}","starred_url":"https://api.github.com/users/aerogear/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aerogear/subscriptions","organizations_url":"https://api.github.com/users/aerogear/orgs","repos_url":"https://api.github.com/users/aerogear/repos","events_url":"https://api.github.com/users/aerogear/events{/privacy}","received_events_url":"https://api.github.com/users/aerogear/received_events","type":"Organization","site_admin":false},"repo":{"id":121781914,"name":"aerogear-js-sdk","full_name":"aerogear/aerogear-js-sdk","owner":{"login":"aerogear","id":954205,"avatar_url":"https://avatars1.githubusercontent.com/u/954205?v=4","gravatar_id":"","url":"https://api.github.com/users/aerogear","html_url":"https://github.com/aerogear","followers_url":"https://api.github.com/users/aerogear/followers","following_url":"https://api.github.com/users/aerogear/following{/other_user}","gists_url":"https://api.github.com/users/aerogear/gists{/gist_id}","starred_url":"https://api.github.com/users/aerogear/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aerogear/subscriptions","organizations_url":"https://api.github.com/users/aerogear/orgs","repos_url":"https://api.github.com/users/aerogear/repos","events_url":"https://api.github.com/users/aerogear/events{/privacy}","received_events_url":"https://api.github.com/users/aerogear/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/aerogear/aerogear-js-sdk","description":"AeroGear SDK for javascript, Apache Cordova and React Native.","fork":false,"url":"https://api.github.com/repos/aerogear/aerogear-js-sdk","forks_url":"https://api.github.com/repos/aerogear/aerogear-js-sdk/forks","keys_url":"https://api.github.com/repos/aerogear/aerogear-js-sdk/keys{/key_id}","collaborators_url":"https://api.github.com/repos/aerogear/aerogear-js-sdk/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/aerogear/aerogear-js-sdk/teams","hooks_url":"https://api.github.com/repos/aerogear/aerogear-js-sdk/hooks","issue_events_url":"https://api.github.com/repos/aerogear/aerogear-js-sdk/issues/events{/number}","events_url":"https://api.github.com/repos/aerogear/aerogear-js-sdk/events","assignees_url":"https://api.github.com/repos/aerogear/aerogear-js-sdk/assignees{/user}","branches_url":"https://api.github.com/repos/aerogear/aerogear-js-sdk/branches{/branch}","tags_url":"https://api.github.com/repos/aerogear/aerogear-js-sdk/tags","blobs_url":"https://api.github.com/repos/aerogear/aerogear-js-sdk/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/aerogear/aerogear-js-sdk/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/aerogear/aerogear-js-sdk/git/refs{/sha}","trees_url":"https://api.github.com/repos/aerogear/aerogear-js-sdk/git/trees{/sha}","statuses_url":"https://api.github.com/repos/aerogear/aerogear-js-sdk/statuses/{sha}","languages_url":"https://api.github.com/repos/aerogear/aerogear-js-sdk/languages","stargazers_url":"https://api.github.com/repos/aerogear/aerogear-js-sdk/stargazers","contributors_url":"https://api.github.com/repos/aerogear/aerogear-js-sdk/contributors","subscribers_url":"https://api.github.com/repos/aerogear/aerogear-js-sdk/subscribers","subscription_url":"https://api.github.com/repos/aerogear/aerogear-js-sdk/subscription","commits_url":"https://api.github.com/repos/aerogear/aerogear-js-sdk/commits{/sha}","git_commits_url":"https://api.github.com/repos/aerogear/aerogear-js-sdk/git/commits{/sha}","comments_url":"https://api.github.com/repos/aerogear/aerogear-js-sdk/comments{/number}","issue_comment_url":"https://api.github.com/repos/aerogear/aerogear-js-sdk/issues/comments{/number}","contents_url":"https://api.github.com/repos/aerogear/aerogear-js-sdk/contents/{+path}","compare_url":"https://api.github.com/repos/aerogear/aerogear-js-sdk/compare/{base}...{head}","merges_url":"https://api.github.com/repos/aerogear/aerogear-js-sdk/merges","archive_url":"https://api.github.com/repos/aerogear/aerogear-js-sdk/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/aerogear/aerogear-js-sdk/downloads","issues_url":"https://api.github.com/repos/aerogear/aerogear-js-sdk/issues{/number}","pulls_url":"https://api.github.com/repos/aerogear/aerogear-js-sdk/pulls{/number}","milestones_url":"https://api.github.com/repos/aerogear/aerogear-js-sdk/milestones{/number}","notifications_url":"https://api.github.com/repos/aerogear/aerogear-js-sdk/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/aerogear/aerogear-js-sdk/labels{/name}","releases_url":"https://api.github.com/repos/aerogear/aerogear-js-sdk/releases{/id}","deployments_url":"https://api.github.com/repos/aerogear/aerogear-js-sdk/deployments","created_at":"2018-02-16T17:51:49Z","updated_at":"2018-04-10T11:40:34Z","pushed_at":"2018-04-10T14:22:53Z","git_url":"git://github.com/aerogear/aerogear-js-sdk.git","ssh_url":"git@github.com:aerogear/aerogear-js-sdk.git","clone_url":"https://github.com/aerogear/aerogear-js-sdk.git","svn_url":"https://github.com/aerogear/aerogear-js-sdk","homepage":"http://aerogear.org","size":10741,"stargazers_count":2,"watchers_count":2,"language":"TypeScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":9,"mirror_url":null,"archived":false,"open_issues_count":1,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0"},"forks":9,"open_issues":1,"watchers":2,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/aerogear/aerogear-js-sdk/pulls/37"},"html":{"href":"https://github.com/aerogear/aerogear-js-sdk/pull/37"},"issue":{"href":"https://api.github.com/repos/aerogear/aerogear-js-sdk/issues/37"},"comments":{"href":"https://api.github.com/repos/aerogear/aerogear-js-sdk/issues/37/comments"},"review_comments":{"href":"https://api.github.com/repos/aerogear/aerogear-js-sdk/pulls/37/comments"},"review_comment":{"href":"https://api.github.com/repos/aerogear/aerogear-js-sdk/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/aerogear/aerogear-js-sdk/pulls/37/commits"},"statuses":{"href":"https://api.github.com/repos/aerogear/aerogear-js-sdk/statuses/8600338cc08d2880d94aefb99e4dcaf385c95c6d"}},"author_association":"OWNER"}}
{"actor":{"display_login":"josemigallas"}}