{"action":"opened","number":10,"pull_request":{"url":"https://api.github.com/repos/Daramola98/WEconnectApp/pulls/10","id":173654755,"html_url":"https://github.com/Daramola98/WEconnectApp/pull/10","diff_url":"https://github.com/Daramola98/WEconnectApp/pull/10.diff","patch_url":"https://github.com/Daramola98/WEconnectApp/pull/10.patch","issue_url":"https://api.github.com/repos/Daramola98/WEconnectApp/issues/10","number":10,"state":"open","locked":false,"title":"#155572412 Build filter businesses by a specified location endpoint ","user":{"login":"Daramola98","id":33539247,"avatar_url":"https://avatars0.githubusercontent.com/u/33539247?v=4","gravatar_id":"","url":"https://api.github.com/users/Daramola98","html_url":"https://github.com/Daramola98","followers_url":"https://api.github.com/users/Daramola98/followers","following_url":"https://api.github.com/users/Daramola98/following{/other_user}","gists_url":"https://api.github.com/users/Daramola98/gists{/gist_id}","starred_url":"https://api.github.com/users/Daramola98/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Daramola98/subscriptions","organizations_url":"https://api.github.com/users/Daramola98/orgs","repos_url":"https://api.github.com/users/Daramola98/repos","events_url":"https://api.github.com/users/Daramola98/events{/privacy}","received_events_url":"https://api.github.com/users/Daramola98/received_events","type":"User","site_admin":false},"body":"#### What does this PR do?\r\nHave working endpoint GET/api/v1/weconnect/businesses?location=<location> on WEconnect application\r\n\r\n#### Description of Task to be completed?\r\nThe endpoint GET/api/v1/weconnect/businesses?location=<location> should filter businesses by the specified location and return businesses in that location\r\n\r\n#### How should this be manually tested?\r\nFork repository\r\nThen clone repository\r\nOn terminal navigate to the repository then use the command cd server and run npm install\r\nRun npm start to start server\r\nDownload Postman or if you already have postman\r\nOpen postman and create a get request to the server localhost:5000/api/v1/weconnect/businesses?location=abuja\r\nwhere location is the location you want to use to filter the businesses\r\nOr alternatively run npm test to test the endpoint\r\n\r\n#### What are the relevant pivotal tracker stories?\r\n#155572412","created_at":"2018-03-08T06:20:31Z","updated_at":"2018-03-08T06:20:31Z","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/Daramola98/WEconnectApp/pulls/10/commits","review_comments_url":"https://api.github.com/repos/Daramola98/WEconnectApp/pulls/10/comments","review_comment_url":"https://api.github.com/repos/Daramola98/WEconnectApp/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Daramola98/WEconnectApp/issues/10/comments","statuses_url":"https://api.github.com/repos/Daramola98/WEconnectApp/statuses/d10407c26b363d6bec9848525838dba449f7304e","head":{"label":"Daramola98:feature-get-businesses-with-specified-location","ref":"feature-get-businesses-with-specified-location","sha":"d10407c26b363d6bec9848525838dba449f7304e","user":{"login":"Daramola98","id":33539247,"avatar_url":"https://avatars0.githubusercontent.com/u/33539247?v=4","gravatar_id":"","url":"https://api.github.com/users/Daramola98","html_url":"https://github.com/Daramola98","followers_url":"https://api.github.com/users/Daramola98/followers","following_url":"https://api.github.com/users/Daramola98/following{/other_user}","gists_url":"https://api.github.com/users/Daramola98/gists{/gist_id}","starred_url":"https://api.github.com/users/Daramola98/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Daramola98/subscriptions","organizations_url":"https://api.github.com/users/Daramola98/orgs","repos_url":"https://api.github.com/users/Daramola98/repos","events_url":"https://api.github.com/users/Daramola98/events{/privacy}","received_events_url":"https://api.github.com/users/Daramola98/received_events","type":"User","site_admin":false},"repo":{"id":123202360,"name":"WEconnectApp","full_name":"Daramola98/WEconnectApp","owner":{"login":"Daramola98","id":33539247,"avatar_url":"https://avatars0.githubusercontent.com/u/33539247?v=4","gravatar_id":"","url":"https://api.github.com/users/Daramola98","html_url":"https://github.com/Daramola98","followers_url":"https://api.github.com/users/Daramola98/followers","following_url":"https://api.github.com/users/Daramola98/following{/other_user}","gists_url":"https://api.github.com/users/Daramola98/gists{/gist_id}","starred_url":"https://api.github.com/users/Daramola98/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Daramola98/subscriptions","organizations_url":"https://api.github.com/users/Daramola98/orgs","repos_url":"https://api.github.com/users/Daramola98/repos","events_url":"https://api.github.com/users/Daramola98/events{/privacy}","received_events_url":"https://api.github.com/users/Daramola98/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Daramola98/WEconnectApp","description":"WeConnect provides a platform that brings businesses and individuals together. This platform creates awareness for businesses and gives the users the ability to write reviews about the businesses they have interacted with.","fork":false,"url":"https://api.github.com/repos/Daramola98/WEconnectApp","forks_url":"https://api.github.com/repos/Daramola98/WEconnectApp/forks","keys_url":"https://api.github.com/repos/Daramola98/WEconnectApp/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Daramola98/WEconnectApp/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Daramola98/WEconnectApp/teams","hooks_url":"https://api.github.com/repos/Daramola98/WEconnectApp/hooks","issue_events_url":"https://api.github.com/repos/Daramola98/WEconnectApp/issues/events{/number}","events_url":"https://api.github.com/repos/Daramola98/WEconnectApp/events","assignees_url":"https://api.github.com/repos/Daramola98/WEconnectApp/assignees{/user}","branches_url":"https://api.github.com/repos/Daramola98/WEconnectApp/branches{/branch}","tags_url":"https://api.github.com/repos/Daramola98/WEconnectApp/tags","blobs_url":"https://api.github.com/repos/Daramola98/WEconnectApp/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Daramola98/WEconnectApp/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Daramola98/WEconnectApp/git/refs{/sha}","trees_url":"https://api.github.com/repos/Daramola98/WEconnectApp/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Daramola98/WEconnectApp/statuses/{sha}","languages_url":"https://api.github.com/repos/Daramola98/WEconnectApp/languages","stargazers_url":"https://api.github.com/repos/Daramola98/WEconnectApp/stargazers","contributors_url":"https://api.github.com/repos/Daramola98/WEconnectApp/contributors","subscribers_url":"https://api.github.com/repos/Daramola98/WEconnectApp/subscribers","subscription_url":"https://api.github.com/repos/Daramola98/WEconnectApp/subscription","commits_url":"https://api.github.com/repos/Daramola98/WEconnectApp/commits{/sha}","git_commits_url":"https://api.github.com/repos/Daramola98/WEconnectApp/git/commits{/sha}","comments_url":"https://api.github.com/repos/Daramola98/WEconnectApp/comments{/number}","issue_comment_url":"https://api.github.com/repos/Daramola98/WEconnectApp/issues/comments{/number}","contents_url":"https://api.github.com/repos/Daramola98/WEconnectApp/contents/{+path}","compare_url":"https://api.github.com/repos/Daramola98/WEconnectApp/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Daramola98/WEconnectApp/merges","archive_url":"https://api.github.com/repos/Daramola98/WEconnectApp/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Daramola98/WEconnectApp/downloads","issues_url":"https://api.github.com/repos/Daramola98/WEconnectApp/issues{/number}","pulls_url":"https://api.github.com/repos/Daramola98/WEconnectApp/pulls{/number}","milestones_url":"https://api.github.com/repos/Daramola98/WEconnectApp/milestones{/number}","notifications_url":"https://api.github.com/repos/Daramola98/WEconnectApp/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Daramola98/WEconnectApp/labels{/name}","releases_url":"https://api.github.com/repos/Daramola98/WEconnectApp/releases{/id}","deployments_url":"https://api.github.com/repos/Daramola98/WEconnectApp/deployments","created_at":"2018-02-27T23:41:43Z","updated_at":"2018-03-03T14:07:09Z","pushed_at":"2018-03-08T06:10:21Z","git_url":"git://github.com/Daramola98/WEconnectApp.git","ssh_url":"git@github.com:Daramola98/WEconnectApp.git","clone_url":"https://github.com/Daramola98/WEconnectApp.git","svn_url":"https://github.com/Daramola98/WEconnectApp","homepage":"https://daramola98.github.io/WEconnectApp/template","size":1307,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":3,"license":null,"forks":0,"open_issues":3,"watchers":0,"default_branch":"master"}},"base":{"label":"Daramola98:develop","ref":"develop","sha":"e64cda0729815a567b6d0199a501b347f57b01dd","user":{"login":"Daramola98","id":33539247,"avatar_url":"https://avatars0.githubusercontent.com/u/33539247?v=4","gravatar_id":"","url":"https://api.github.com/users/Daramola98","html_url":"https://github.com/Daramola98","followers_url":"https://api.github.com/users/Daramola98/followers","following_url":"https://api.github.com/users/Daramola98/following{/other_user}","gists_url":"https://api.github.com/users/Daramola98/gists{/gist_id}","starred_url":"https://api.github.com/users/Daramola98/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Daramola98/subscriptions","organizations_url":"https://api.github.com/users/Daramola98/orgs","repos_url":"https://api.github.com/users/Daramola98/repos","events_url":"https://api.github.com/users/Daramola98/events{/privacy}","received_events_url":"https://api.github.com/users/Daramola98/received_events","type":"User","site_admin":false},"repo":{"id":123202360,"name":"WEconnectApp","full_name":"Daramola98/WEconnectApp","owner":{"login":"Daramola98","id":33539247,"avatar_url":"https://avatars0.githubusercontent.com/u/33539247?v=4","gravatar_id":"","url":"https://api.github.com/users/Daramola98","html_url":"https://github.com/Daramola98","followers_url":"https://api.github.com/users/Daramola98/followers","following_url":"https://api.github.com/users/Daramola98/following{/other_user}","gists_url":"https://api.github.com/users/Daramola98/gists{/gist_id}","starred_url":"https://api.github.com/users/Daramola98/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Daramola98/subscriptions","organizations_url":"https://api.github.com/users/Daramola98/orgs","repos_url":"https://api.github.com/users/Daramola98/repos","events_url":"https://api.github.com/users/Daramola98/events{/privacy}","received_events_url":"https://api.github.com/users/Daramola98/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Daramola98/WEconnectApp","description":"WeConnect provides a platform that brings businesses and individuals together. This platform creates awareness for businesses and gives the users the ability to write reviews about the businesses they have interacted with.","fork":false,"url":"https://api.github.com/repos/Daramola98/WEconnectApp","forks_url":"https://api.github.com/repos/Daramola98/WEconnectApp/forks","keys_url":"https://api.github.com/repos/Daramola98/WEconnectApp/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Daramola98/WEconnectApp/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Daramola98/WEconnectApp/teams","hooks_url":"https://api.github.com/repos/Daramola98/WEconnectApp/hooks","issue_events_url":"https://api.github.com/repos/Daramola98/WEconnectApp/issues/events{/number}","events_url":"https://api.github.com/repos/Daramola98/WEconnectApp/events","assignees_url":"https://api.github.com/repos/Daramola98/WEconnectApp/assignees{/user}","branches_url":"https://api.github.com/repos/Daramola98/WEconnectApp/branches{/branch}","tags_url":"https://api.github.com/repos/Daramola98/WEconnectApp/tags","blobs_url":"https://api.github.com/repos/Daramola98/WEconnectApp/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Daramola98/WEconnectApp/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Daramola98/WEconnectApp/git/refs{/sha}","trees_url":"https://api.github.com/repos/Daramola98/WEconnectApp/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Daramola98/WEconnectApp/statuses/{sha}","languages_url":"https://api.github.com/repos/Daramola98/WEconnectApp/languages","stargazers_url":"https://api.github.com/repos/Daramola98/WEconnectApp/stargazers","contributors_url":"https://api.github.com/repos/Daramola98/WEconnectApp/contributors","subscribers_url":"https://api.github.com/repos/Daramola98/WEconnectApp/subscribers","subscription_url":"https://api.github.com/repos/Daramola98/WEconnectApp/subscription","commits_url":"https://api.github.com/repos/Daramola98/WEconnectApp/commits{/sha}","git_commits_url":"https://api.github.com/repos/Daramola98/WEconnectApp/git/commits{/sha}","comments_url":"https://api.github.com/repos/Daramola98/WEconnectApp/comments{/number}","issue_comment_url":"https://api.github.com/repos/Daramola98/WEconnectApp/issues/comments{/number}","contents_url":"https://api.github.com/repos/Daramola98/WEconnectApp/contents/{+path}","compare_url":"https://api.github.com/repos/Daramola98/WEconnectApp/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Daramola98/WEconnectApp/merges","archive_url":"https://api.github.com/repos/Daramola98/WEconnectApp/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Daramola98/WEconnectApp/downloads","issues_url":"https://api.github.com/repos/Daramola98/WEconnectApp/issues{/number}","pulls_url":"https://api.github.com/repos/Daramola98/WEconnectApp/pulls{/number}","milestones_url":"https://api.github.com/repos/Daramola98/WEconnectApp/milestones{/number}","notifications_url":"https://api.github.com/repos/Daramola98/WEconnectApp/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Daramola98/WEconnectApp/labels{/name}","releases_url":"https://api.github.com/repos/Daramola98/WEconnectApp/releases{/id}","deployments_url":"https://api.github.com/repos/Daramola98/WEconnectApp/deployments","created_at":"2018-02-27T23:41:43Z","updated_at":"2018-03-03T14:07:09Z","pushed_at":"2018-03-08T06:10:21Z","git_url":"git://github.com/Daramola98/WEconnectApp.git","ssh_url":"git@github.com:Daramola98/WEconnectApp.git","clone_url":"https://github.com/Daramola98/WEconnectApp.git","svn_url":"https://github.com/Daramola98/WEconnectApp","homepage":"https://daramola98.github.io/WEconnectApp/template","size":1307,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":3,"license":null,"forks":0,"open_issues":3,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Daramola98/WEconnectApp/pulls/10"},"html":{"href":"https://github.com/Daramola98/WEconnectApp/pull/10"},"issue":{"href":"https://api.github.com/repos/Daramola98/WEconnectApp/issues/10"},"comments":{"href":"https://api.github.com/repos/Daramola98/WEconnectApp/issues/10/comments"},"review_comments":{"href":"https://api.github.com/repos/Daramola98/WEconnectApp/pulls/10/comments"},"review_comment":{"href":"https://api.github.com/repos/Daramola98/WEconnectApp/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Daramola98/WEconnectApp/pulls/10/commits"},"statuses":{"href":"https://api.github.com/repos/Daramola98/WEconnectApp/statuses/d10407c26b363d6bec9848525838dba449f7304e"}},"author_association":"OWNER","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":false,"commits":1,"additions":49,"deletions":2,"changed_files":3}}
{"actor":{"display_login":"Daramola98"}}