{"action":"opened","number":22,"pull_request":{"url":"https://api.github.com/repos/Ada-C10/trek/pulls/22","id":233693293,"node_id":"MDExOlB1bGxSZXF1ZXN0MjMzNjkzMjkz","html_url":"https://github.com/Ada-C10/trek/pull/22","diff_url":"https://github.com/Ada-C10/trek/pull/22.diff","patch_url":"https://github.com/Ada-C10/trek/pull/22.patch","issue_url":"https://api.github.com/repos/Ada-C10/trek/issues/22","number":22,"state":"open","locked":false,"title":"Pushpa_Agr_Edges","user":{"login":"pushpaagr","id":21296224,"node_id":"MDQ6VXNlcjIxMjk2MjI0","avatar_url":"https://avatars0.githubusercontent.com/u/21296224?v=4","gravatar_id":"","url":"https://api.github.com/users/pushpaagr","html_url":"https://github.com/pushpaagr","followers_url":"https://api.github.com/users/pushpaagr/followers","following_url":"https://api.github.com/users/pushpaagr/following{/other_user}","gists_url":"https://api.github.com/users/pushpaagr/gists{/gist_id}","starred_url":"https://api.github.com/users/pushpaagr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pushpaagr/subscriptions","organizations_url":"https://api.github.com/users/pushpaagr/orgs","repos_url":"https://api.github.com/users/pushpaagr/repos","events_url":"https://api.github.com/users/pushpaagr/events{/privacy}","received_events_url":"https://api.github.com/users/pushpaagr/received_events","type":"User","site_admin":false},"body":"# TREK\r\nCongratulations! You're submitting your assignment!\r\n\r\n## Comprehension Questions\r\nQuestion | Answer\r\n:------------- | :-------------\r\nWhat does it mean for code to be asynchronous? | Asynchronous means that you are able to do many things at the same time, for example you can interact with the webpage while its waiting for a request, and it won't freeze. It also allows you to send multiple requests at a time. \r\nDescribe a piece of your code that executes asynchronously. How did this affect the way you structured it? | When a user clicks on a single trip, it not only loads the trip detail but it also populates the form for a trip reservation. I had to structure my code in a way that it both of these actions would happen when a user clicked on a single trip. \r\nWhat kind of errors might the API give you? How did you choose to handle them? |\r\nThe API does not allow a name or email to be empty if you are trying to create a reservation. I handled this error by displaying the message in a user friendly way that shows the message of 'name/email can't be blank'\r\nSuppose you needed to routinely find a specific `Trip` in the list by it's ID field.  Would it be advantageous to keep the list in order by the id field?  Explain why or why not. I don't think it would make a difference if it was in order or not since we already have the id that we need in order to look for the trip. Right now the order of my list does not matter, when a user click on a trip, its the click that triggers the trip id information, and the click is the one that is getting the id for that particular trip. \r\n","created_at":"2018-11-26T20:54:25Z","updated_at":"2018-11-26T20:54:25Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/Ada-C10/trek/pulls/22/commits","review_comments_url":"https://api.github.com/repos/Ada-C10/trek/pulls/22/comments","review_comment_url":"https://api.github.com/repos/Ada-C10/trek/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Ada-C10/trek/issues/22/comments","statuses_url":"https://api.github.com/repos/Ada-C10/trek/statuses/637547c69a8bcf304bc6db1550ee0f102b271020","head":{"label":"pushpaagr:master","ref":"master","sha":"637547c69a8bcf304bc6db1550ee0f102b271020","user":{"login":"pushpaagr","id":21296224,"node_id":"MDQ6VXNlcjIxMjk2MjI0","avatar_url":"https://avatars0.githubusercontent.com/u/21296224?v=4","gravatar_id":"","url":"https://api.github.com/users/pushpaagr","html_url":"https://github.com/pushpaagr","followers_url":"https://api.github.com/users/pushpaagr/followers","following_url":"https://api.github.com/users/pushpaagr/following{/other_user}","gists_url":"https://api.github.com/users/pushpaagr/gists{/gist_id}","starred_url":"https://api.github.com/users/pushpaagr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pushpaagr/subscriptions","organizations_url":"https://api.github.com/users/pushpaagr/orgs","repos_url":"https://api.github.com/users/pushpaagr/repos","events_url":"https://api.github.com/users/pushpaagr/events{/privacy}","received_events_url":"https://api.github.com/users/pushpaagr/received_events","type":"User","site_admin":false},"repo":{"id":158465216,"node_id":"MDEwOlJlcG9zaXRvcnkxNTg0NjUyMTY=","name":"trek","full_name":"pushpaagr/trek","private":false,"owner":{"login":"pushpaagr","id":21296224,"node_id":"MDQ6VXNlcjIxMjk2MjI0","avatar_url":"https://avatars0.githubusercontent.com/u/21296224?v=4","gravatar_id":"","url":"https://api.github.com/users/pushpaagr","html_url":"https://github.com/pushpaagr","followers_url":"https://api.github.com/users/pushpaagr/followers","following_url":"https://api.github.com/users/pushpaagr/following{/other_user}","gists_url":"https://api.github.com/users/pushpaagr/gists{/gist_id}","starred_url":"https://api.github.com/users/pushpaagr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pushpaagr/subscriptions","organizations_url":"https://api.github.com/users/pushpaagr/orgs","repos_url":"https://api.github.com/users/pushpaagr/repos","events_url":"https://api.github.com/users/pushpaagr/events{/privacy}","received_events_url":"https://api.github.com/users/pushpaagr/received_events","type":"User","site_admin":false},"html_url":"https://github.com/pushpaagr/trek","description":"Project: Build a web-app styled as a travel agency using our trip API","fork":true,"url":"https://api.github.com/repos/pushpaagr/trek","forks_url":"https://api.github.com/repos/pushpaagr/trek/forks","keys_url":"https://api.github.com/repos/pushpaagr/trek/keys{/key_id}","collaborators_url":"https://api.github.com/repos/pushpaagr/trek/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/pushpaagr/trek/teams","hooks_url":"https://api.github.com/repos/pushpaagr/trek/hooks","issue_events_url":"https://api.github.com/repos/pushpaagr/trek/issues/events{/number}","events_url":"https://api.github.com/repos/pushpaagr/trek/events","assignees_url":"https://api.github.com/repos/pushpaagr/trek/assignees{/user}","branches_url":"https://api.github.com/repos/pushpaagr/trek/branches{/branch}","tags_url":"https://api.github.com/repos/pushpaagr/trek/tags","blobs_url":"https://api.github.com/repos/pushpaagr/trek/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/pushpaagr/trek/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/pushpaagr/trek/git/refs{/sha}","trees_url":"https://api.github.com/repos/pushpaagr/trek/git/trees{/sha}","statuses_url":"https://api.github.com/repos/pushpaagr/trek/statuses/{sha}","languages_url":"https://api.github.com/repos/pushpaagr/trek/languages","stargazers_url":"https://api.github.com/repos/pushpaagr/trek/stargazers","contributors_url":"https://api.github.com/repos/pushpaagr/trek/contributors","subscribers_url":"https://api.github.com/repos/pushpaagr/trek/subscribers","subscription_url":"https://api.github.com/repos/pushpaagr/trek/subscription","commits_url":"https://api.github.com/repos/pushpaagr/trek/commits{/sha}","git_commits_url":"https://api.github.com/repos/pushpaagr/trek/git/commits{/sha}","comments_url":"https://api.github.com/repos/pushpaagr/trek/comments{/number}","issue_comment_url":"https://api.github.com/repos/pushpaagr/trek/issues/comments{/number}","contents_url":"https://api.github.com/repos/pushpaagr/trek/contents/{+path}","compare_url":"https://api.github.com/repos/pushpaagr/trek/compare/{base}...{head}","merges_url":"https://api.github.com/repos/pushpaagr/trek/merges","archive_url":"https://api.github.com/repos/pushpaagr/trek/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/pushpaagr/trek/downloads","issues_url":"https://api.github.com/repos/pushpaagr/trek/issues{/number}","pulls_url":"https://api.github.com/repos/pushpaagr/trek/pulls{/number}","milestones_url":"https://api.github.com/repos/pushpaagr/trek/milestones{/number}","notifications_url":"https://api.github.com/repos/pushpaagr/trek/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/pushpaagr/trek/labels{/name}","releases_url":"https://api.github.com/repos/pushpaagr/trek/releases{/id}","deployments_url":"https://api.github.com/repos/pushpaagr/trek/deployments","created_at":"2018-11-20T23:43:20Z","updated_at":"2018-11-26T20:45:36Z","pushed_at":"2018-11-26T20:45:35Z","git_url":"git://github.com/pushpaagr/trek.git","ssh_url":"git@github.com:pushpaagr/trek.git","clone_url":"https://github.com/pushpaagr/trek.git","svn_url":"https://github.com/pushpaagr/trek","homepage":"","size":1081,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":null,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"Ada-C10:master","ref":"master","sha":"04c5f5a87ffc6e5d8653a6013ac3fa1ee52aafce","user":{"login":"Ada-C10","id":40303054,"node_id":"MDEyOk9yZ2FuaXphdGlvbjQwMzAzMDU0","avatar_url":"https://avatars0.githubusercontent.com/u/40303054?v=4","gravatar_id":"","url":"https://api.github.com/users/Ada-C10","html_url":"https://github.com/Ada-C10","followers_url":"https://api.github.com/users/Ada-C10/followers","following_url":"https://api.github.com/users/Ada-C10/following{/other_user}","gists_url":"https://api.github.com/users/Ada-C10/gists{/gist_id}","starred_url":"https://api.github.com/users/Ada-C10/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Ada-C10/subscriptions","organizations_url":"https://api.github.com/users/Ada-C10/orgs","repos_url":"https://api.github.com/users/Ada-C10/repos","events_url":"https://api.github.com/users/Ada-C10/events{/privacy}","received_events_url":"https://api.github.com/users/Ada-C10/received_events","type":"Organization","site_admin":false},"repo":{"id":158280544,"node_id":"MDEwOlJlcG9zaXRvcnkxNTgyODA1NDQ=","name":"trek","full_name":"Ada-C10/trek","private":false,"owner":{"login":"Ada-C10","id":40303054,"node_id":"MDEyOk9yZ2FuaXphdGlvbjQwMzAzMDU0","avatar_url":"https://avatars0.githubusercontent.com/u/40303054?v=4","gravatar_id":"","url":"https://api.github.com/users/Ada-C10","html_url":"https://github.com/Ada-C10","followers_url":"https://api.github.com/users/Ada-C10/followers","following_url":"https://api.github.com/users/Ada-C10/following{/other_user}","gists_url":"https://api.github.com/users/Ada-C10/gists{/gist_id}","starred_url":"https://api.github.com/users/Ada-C10/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Ada-C10/subscriptions","organizations_url":"https://api.github.com/users/Ada-C10/orgs","repos_url":"https://api.github.com/users/Ada-C10/repos","events_url":"https://api.github.com/users/Ada-C10/events{/privacy}","received_events_url":"https://api.github.com/users/Ada-C10/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/Ada-C10/trek","description":"Project: Build a web-app styled as a travel agency using our trip API","fork":true,"url":"https://api.github.com/repos/Ada-C10/trek","forks_url":"https://api.github.com/repos/Ada-C10/trek/forks","keys_url":"https://api.github.com/repos/Ada-C10/trek/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Ada-C10/trek/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Ada-C10/trek/teams","hooks_url":"https://api.github.com/repos/Ada-C10/trek/hooks","issue_events_url":"https://api.github.com/repos/Ada-C10/trek/issues/events{/number}","events_url":"https://api.github.com/repos/Ada-C10/trek/events","assignees_url":"https://api.github.com/repos/Ada-C10/trek/assignees{/user}","branches_url":"https://api.github.com/repos/Ada-C10/trek/branches{/branch}","tags_url":"https://api.github.com/repos/Ada-C10/trek/tags","blobs_url":"https://api.github.com/repos/Ada-C10/trek/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Ada-C10/trek/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Ada-C10/trek/git/refs{/sha}","trees_url":"https://api.github.com/repos/Ada-C10/trek/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Ada-C10/trek/statuses/{sha}","languages_url":"https://api.github.com/repos/Ada-C10/trek/languages","stargazers_url":"https://api.github.com/repos/Ada-C10/trek/stargazers","contributors_url":"https://api.github.com/repos/Ada-C10/trek/contributors","subscribers_url":"https://api.github.com/repos/Ada-C10/trek/subscribers","subscription_url":"https://api.github.com/repos/Ada-C10/trek/subscription","commits_url":"https://api.github.com/repos/Ada-C10/trek/commits{/sha}","git_commits_url":"https://api.github.com/repos/Ada-C10/trek/git/commits{/sha}","comments_url":"https://api.github.com/repos/Ada-C10/trek/comments{/number}","issue_comment_url":"https://api.github.com/repos/Ada-C10/trek/issues/comments{/number}","contents_url":"https://api.github.com/repos/Ada-C10/trek/contents/{+path}","compare_url":"https://api.github.com/repos/Ada-C10/trek/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Ada-C10/trek/merges","archive_url":"https://api.github.com/repos/Ada-C10/trek/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Ada-C10/trek/downloads","issues_url":"https://api.github.com/repos/Ada-C10/trek/issues{/number}","pulls_url":"https://api.github.com/repos/Ada-C10/trek/pulls{/number}","milestones_url":"https://api.github.com/repos/Ada-C10/trek/milestones{/number}","notifications_url":"https://api.github.com/repos/Ada-C10/trek/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Ada-C10/trek/labels{/name}","releases_url":"https://api.github.com/repos/Ada-C10/trek/releases{/id}","deployments_url":"https://api.github.com/repos/Ada-C10/trek/deployments","created_at":"2018-11-19T19:43:35Z","updated_at":"2018-11-19T19:44:17Z","pushed_at":"2018-11-26T19:21:37Z","git_url":"git://github.com/Ada-C10/trek.git","ssh_url":"git@github.com:Ada-C10/trek.git","clone_url":"https://github.com/Ada-C10/trek.git","svn_url":"https://github.com/Ada-C10/trek","homepage":"","size":172,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":47,"mirror_url":null,"archived":false,"open_issues_count":22,"license":null,"forks":47,"open_issues":22,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Ada-C10/trek/pulls/22"},"html":{"href":"https://github.com/Ada-C10/trek/pull/22"},"issue":{"href":"https://api.github.com/repos/Ada-C10/trek/issues/22"},"comments":{"href":"https://api.github.com/repos/Ada-C10/trek/issues/22/comments"},"review_comments":{"href":"https://api.github.com/repos/Ada-C10/trek/pulls/22/comments"},"review_comment":{"href":"https://api.github.com/repos/Ada-C10/trek/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Ada-C10/trek/pulls/22/commits"},"statuses":{"href":"https://api.github.com/repos/Ada-C10/trek/statuses/637547c69a8bcf304bc6db1550ee0f102b271020"}},"author_association":"NONE","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":true,"commits":6,"additions":230,"deletions":0,"changed_files":7}}
{"actor":{"display_login":"pushpaagr"}}