{"action":"opened","number":1,"pull_request":{"url":"https://api.github.com/repos/EvanRupert/quote-generating-website/pulls/1","id":123392104,"html_url":"https://github.com/EvanRupert/quote-generating-website/pull/1","diff_url":"https://github.com/EvanRupert/quote-generating-website/pull/1.diff","patch_url":"https://github.com/EvanRupert/quote-generating-website/pull/1.patch","issue_url":"https://api.github.com/repos/EvanRupert/quote-generating-website/issues/1","number":1,"state":"open","locked":false,"title":"Added server file, added gitignore file, modified elm api url","user":{"login":"megaboy101","id":18669693,"avatar_url":"https://avatars1.githubusercontent.com/u/18669693?v=3","gravatar_id":"","url":"https://api.github.com/users/megaboy101","html_url":"https://github.com/megaboy101","followers_url":"https://api.github.com/users/megaboy101/followers","following_url":"https://api.github.com/users/megaboy101/following{/other_user}","gists_url":"https://api.github.com/users/megaboy101/gists{/gist_id}","starred_url":"https://api.github.com/users/megaboy101/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/megaboy101/subscriptions","organizations_url":"https://api.github.com/users/megaboy101/orgs","repos_url":"https://api.github.com/users/megaboy101/repos","events_url":"https://api.github.com/users/megaboy101/events{/privacy}","received_events_url":"https://api.github.com/users/megaboy101/received_events","type":"User","site_admin":false},"body":"Alright so I added the basic server which will take care of the API you need, you shouldn't need to touch the server file at all. However, when you need to work on your files now, you gotta go through the server. It's simple enough, just a terminal command `node server.js`. Keep in mind you still gotta run your build script before turning on the server. For convenience, I added an NPM script which runs the build script and turns on the server afterward all in one command: `npm start`. You can see the script itself in your package.json under scripts. It literally just runs whatever terminal command you input mapped to a simple name. I would advise you make a build script too, so you don't have to keep the bash script around. If you do however, the command will be `npm run build`, not `npm build` (npm start is a special case command).\r\nAlso, I added a .gitignore file. You dont wanna keep your billions of node modules or elm modules in git, its huge and doesnt need to be tracked. Without tracking the unnecessary files, my git file became about 98% smaller. I also ignored the dist folder, usually you wanna build the dist folder when you download the code.","created_at":"2017-05-31T23:38:42Z","updated_at":"2017-05-31T23:38:42Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"requested_reviewers":[],"milestone":null,"commits_url":"https://api.github.com/repos/EvanRupert/quote-generating-website/pulls/1/commits","review_comments_url":"https://api.github.com/repos/EvanRupert/quote-generating-website/pulls/1/comments","review_comment_url":"https://api.github.com/repos/EvanRupert/quote-generating-website/pulls/comments{/number}","comments_url":"https://api.github.com/repos/EvanRupert/quote-generating-website/issues/1/comments","statuses_url":"https://api.github.com/repos/EvanRupert/quote-generating-website/statuses/5071bfec40f6f985d505c7492e8738e797d40504","head":{"label":"megaboy101:master","ref":"master","sha":"5071bfec40f6f985d505c7492e8738e797d40504","user":{"login":"megaboy101","id":18669693,"avatar_url":"https://avatars1.githubusercontent.com/u/18669693?v=3","gravatar_id":"","url":"https://api.github.com/users/megaboy101","html_url":"https://github.com/megaboy101","followers_url":"https://api.github.com/users/megaboy101/followers","following_url":"https://api.github.com/users/megaboy101/following{/other_user}","gists_url":"https://api.github.com/users/megaboy101/gists{/gist_id}","starred_url":"https://api.github.com/users/megaboy101/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/megaboy101/subscriptions","organizations_url":"https://api.github.com/users/megaboy101/orgs","repos_url":"https://api.github.com/users/megaboy101/repos","events_url":"https://api.github.com/users/megaboy101/events{/privacy}","received_events_url":"https://api.github.com/users/megaboy101/received_events","type":"User","site_admin":false},"repo":{"id":92996675,"name":"quote-generating-website","full_name":"megaboy101/quote-generating-website","owner":{"login":"megaboy101","id":18669693,"avatar_url":"https://avatars1.githubusercontent.com/u/18669693?v=3","gravatar_id":"","url":"https://api.github.com/users/megaboy101","html_url":"https://github.com/megaboy101","followers_url":"https://api.github.com/users/megaboy101/followers","following_url":"https://api.github.com/users/megaboy101/following{/other_user}","gists_url":"https://api.github.com/users/megaboy101/gists{/gist_id}","starred_url":"https://api.github.com/users/megaboy101/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/megaboy101/subscriptions","organizations_url":"https://api.github.com/users/megaboy101/orgs","repos_url":"https://api.github.com/users/megaboy101/repos","events_url":"https://api.github.com/users/megaboy101/events{/privacy}","received_events_url":"https://api.github.com/users/megaboy101/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/megaboy101/quote-generating-website","description":"Website to randomly give quotes","fork":true,"url":"https://api.github.com/repos/megaboy101/quote-generating-website","forks_url":"https://api.github.com/repos/megaboy101/quote-generating-website/forks","keys_url":"https://api.github.com/repos/megaboy101/quote-generating-website/keys{/key_id}","collaborators_url":"https://api.github.com/repos/megaboy101/quote-generating-website/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/megaboy101/quote-generating-website/teams","hooks_url":"https://api.github.com/repos/megaboy101/quote-generating-website/hooks","issue_events_url":"https://api.github.com/repos/megaboy101/quote-generating-website/issues/events{/number}","events_url":"https://api.github.com/repos/megaboy101/quote-generating-website/events","assignees_url":"https://api.github.com/repos/megaboy101/quote-generating-website/assignees{/user}","branches_url":"https://api.github.com/repos/megaboy101/quote-generating-website/branches{/branch}","tags_url":"https://api.github.com/repos/megaboy101/quote-generating-website/tags","blobs_url":"https://api.github.com/repos/megaboy101/quote-generating-website/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/megaboy101/quote-generating-website/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/megaboy101/quote-generating-website/git/refs{/sha}","trees_url":"https://api.github.com/repos/megaboy101/quote-generating-website/git/trees{/sha}","statuses_url":"https://api.github.com/repos/megaboy101/quote-generating-website/statuses/{sha}","languages_url":"https://api.github.com/repos/megaboy101/quote-generating-website/languages","stargazers_url":"https://api.github.com/repos/megaboy101/quote-generating-website/stargazers","contributors_url":"https://api.github.com/repos/megaboy101/quote-generating-website/contributors","subscribers_url":"https://api.github.com/repos/megaboy101/quote-generating-website/subscribers","subscription_url":"https://api.github.com/repos/megaboy101/quote-generating-website/subscription","commits_url":"https://api.github.com/repos/megaboy101/quote-generating-website/commits{/sha}","git_commits_url":"https://api.github.com/repos/megaboy101/quote-generating-website/git/commits{/sha}","comments_url":"https://api.github.com/repos/megaboy101/quote-generating-website/comments{/number}","issue_comment_url":"https://api.github.com/repos/megaboy101/quote-generating-website/issues/comments{/number}","contents_url":"https://api.github.com/repos/megaboy101/quote-generating-website/contents/{+path}","compare_url":"https://api.github.com/repos/megaboy101/quote-generating-website/compare/{base}...{head}","merges_url":"https://api.github.com/repos/megaboy101/quote-generating-website/merges","archive_url":"https://api.github.com/repos/megaboy101/quote-generating-website/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/megaboy101/quote-generating-website/downloads","issues_url":"https://api.github.com/repos/megaboy101/quote-generating-website/issues{/number}","pulls_url":"https://api.github.com/repos/megaboy101/quote-generating-website/pulls{/number}","milestones_url":"https://api.github.com/repos/megaboy101/quote-generating-website/milestones{/number}","notifications_url":"https://api.github.com/repos/megaboy101/quote-generating-website/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/megaboy101/quote-generating-website/labels{/name}","releases_url":"https://api.github.com/repos/megaboy101/quote-generating-website/releases{/id}","deployments_url":"https://api.github.com/repos/megaboy101/quote-generating-website/deployments","created_at":"2017-05-31T23:14:37Z","updated_at":"2017-05-31T23:14:40Z","pushed_at":"2017-05-31T23:29:22Z","git_url":"git://github.com/megaboy101/quote-generating-website.git","ssh_url":"git@github.com:megaboy101/quote-generating-website.git","clone_url":"https://github.com/megaboy101/quote-generating-website.git","svn_url":"https://github.com/megaboy101/quote-generating-website","homepage":null,"size":346,"stargazers_count":0,"watchers_count":0,"language":"Elm","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"EvanRupert:master","ref":"master","sha":"eedfa8f66537d643ed55597512466f48598b61d5","user":{"login":"EvanRupert","id":18689459,"avatar_url":"https://avatars0.githubusercontent.com/u/18689459?v=3","gravatar_id":"","url":"https://api.github.com/users/EvanRupert","html_url":"https://github.com/EvanRupert","followers_url":"https://api.github.com/users/EvanRupert/followers","following_url":"https://api.github.com/users/EvanRupert/following{/other_user}","gists_url":"https://api.github.com/users/EvanRupert/gists{/gist_id}","starred_url":"https://api.github.com/users/EvanRupert/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/EvanRupert/subscriptions","organizations_url":"https://api.github.com/users/EvanRupert/orgs","repos_url":"https://api.github.com/users/EvanRupert/repos","events_url":"https://api.github.com/users/EvanRupert/events{/privacy}","received_events_url":"https://api.github.com/users/EvanRupert/received_events","type":"User","site_admin":false},"repo":{"id":92644100,"name":"quote-generating-website","full_name":"EvanRupert/quote-generating-website","owner":{"login":"EvanRupert","id":18689459,"avatar_url":"https://avatars0.githubusercontent.com/u/18689459?v=3","gravatar_id":"","url":"https://api.github.com/users/EvanRupert","html_url":"https://github.com/EvanRupert","followers_url":"https://api.github.com/users/EvanRupert/followers","following_url":"https://api.github.com/users/EvanRupert/following{/other_user}","gists_url":"https://api.github.com/users/EvanRupert/gists{/gist_id}","starred_url":"https://api.github.com/users/EvanRupert/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/EvanRupert/subscriptions","organizations_url":"https://api.github.com/users/EvanRupert/orgs","repos_url":"https://api.github.com/users/EvanRupert/repos","events_url":"https://api.github.com/users/EvanRupert/events{/privacy}","received_events_url":"https://api.github.com/users/EvanRupert/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/EvanRupert/quote-generating-website","description":"Website to randomly give quotes","fork":false,"url":"https://api.github.com/repos/EvanRupert/quote-generating-website","forks_url":"https://api.github.com/repos/EvanRupert/quote-generating-website/forks","keys_url":"https://api.github.com/repos/EvanRupert/quote-generating-website/keys{/key_id}","collaborators_url":"https://api.github.com/repos/EvanRupert/quote-generating-website/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/EvanRupert/quote-generating-website/teams","hooks_url":"https://api.github.com/repos/EvanRupert/quote-generating-website/hooks","issue_events_url":"https://api.github.com/repos/EvanRupert/quote-generating-website/issues/events{/number}","events_url":"https://api.github.com/repos/EvanRupert/quote-generating-website/events","assignees_url":"https://api.github.com/repos/EvanRupert/quote-generating-website/assignees{/user}","branches_url":"https://api.github.com/repos/EvanRupert/quote-generating-website/branches{/branch}","tags_url":"https://api.github.com/repos/EvanRupert/quote-generating-website/tags","blobs_url":"https://api.github.com/repos/EvanRupert/quote-generating-website/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/EvanRupert/quote-generating-website/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/EvanRupert/quote-generating-website/git/refs{/sha}","trees_url":"https://api.github.com/repos/EvanRupert/quote-generating-website/git/trees{/sha}","statuses_url":"https://api.github.com/repos/EvanRupert/quote-generating-website/statuses/{sha}","languages_url":"https://api.github.com/repos/EvanRupert/quote-generating-website/languages","stargazers_url":"https://api.github.com/repos/EvanRupert/quote-generating-website/stargazers","contributors_url":"https://api.github.com/repos/EvanRupert/quote-generating-website/contributors","subscribers_url":"https://api.github.com/repos/EvanRupert/quote-generating-website/subscribers","subscription_url":"https://api.github.com/repos/EvanRupert/quote-generating-website/subscription","commits_url":"https://api.github.com/repos/EvanRupert/quote-generating-website/commits{/sha}","git_commits_url":"https://api.github.com/repos/EvanRupert/quote-generating-website/git/commits{/sha}","comments_url":"https://api.github.com/repos/EvanRupert/quote-generating-website/comments{/number}","issue_comment_url":"https://api.github.com/repos/EvanRupert/quote-generating-website/issues/comments{/number}","contents_url":"https://api.github.com/repos/EvanRupert/quote-generating-website/contents/{+path}","compare_url":"https://api.github.com/repos/EvanRupert/quote-generating-website/compare/{base}...{head}","merges_url":"https://api.github.com/repos/EvanRupert/quote-generating-website/merges","archive_url":"https://api.github.com/repos/EvanRupert/quote-generating-website/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/EvanRupert/quote-generating-website/downloads","issues_url":"https://api.github.com/repos/EvanRupert/quote-generating-website/issues{/number}","pulls_url":"https://api.github.com/repos/EvanRupert/quote-generating-website/pulls{/number}","milestones_url":"https://api.github.com/repos/EvanRupert/quote-generating-website/milestones{/number}","notifications_url":"https://api.github.com/repos/EvanRupert/quote-generating-website/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/EvanRupert/quote-generating-website/labels{/name}","releases_url":"https://api.github.com/repos/EvanRupert/quote-generating-website/releases{/id}","deployments_url":"https://api.github.com/repos/EvanRupert/quote-generating-website/deployments","created_at":"2017-05-28T06:29:18Z","updated_at":"2017-05-28T06:31:56Z","pushed_at":"2017-05-28T06:31:54Z","git_url":"git://github.com/EvanRupert/quote-generating-website.git","ssh_url":"git@github.com:EvanRupert/quote-generating-website.git","clone_url":"https://github.com/EvanRupert/quote-generating-website.git","svn_url":"https://github.com/EvanRupert/quote-generating-website","homepage":null,"size":346,"stargazers_count":0,"watchers_count":0,"language":"Elm","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":1,"forks":1,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/EvanRupert/quote-generating-website/pulls/1"},"html":{"href":"https://github.com/EvanRupert/quote-generating-website/pull/1"},"issue":{"href":"https://api.github.com/repos/EvanRupert/quote-generating-website/issues/1"},"comments":{"href":"https://api.github.com/repos/EvanRupert/quote-generating-website/issues/1/comments"},"review_comments":{"href":"https://api.github.com/repos/EvanRupert/quote-generating-website/pulls/1/comments"},"review_comment":{"href":"https://api.github.com/repos/EvanRupert/quote-generating-website/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/EvanRupert/quote-generating-website/pulls/1/commits"},"statuses":{"href":"https://api.github.com/repos/EvanRupert/quote-generating-website/statuses/5071bfec40f6f985d505c7492e8738e797d40504"}},"merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":true,"commits":1,"additions":64,"deletions":9331,"changed_files":6}}
{"actor":{"display_login":"megaboy101"}}