{"data":{"datoCmsWork":{"seoMetaTags":{"tags":[{"tagName":"title","content":"Labs Week 2 - Creative Inc.","attributes":null},{"tagName":"meta","content":null,"attributes":{"property":"og:title","content":"Labs Week 2","name":null}},{"tagName":"meta","content":null,"attributes":{"property":null,"content":"Labs Week 2","name":"twitter:title"}},{"tagName":"meta","content":null,"attributes":{"property":null,"content":"Pitch founders hackathon business-to-business growth hacking pivot rockstar deployment business model canvas handshake stock business-to-consumer. ","name":"description"}},{"tagName":"meta","content":null,"attributes":{"property":"og:description","content":"Pitch founders hackathon business-to-business growth hacking pivot rockstar deployment business model canvas handshake stock business-to-consumer. ","name":null}},{"tagName":"meta","content":null,"attributes":{"property":null,"content":"Pitch founders hackathon business-to-business growth hacking pivot rockstar deployment business model canvas handshake stock business-to-consumer. ","name":"twitter:description"}},{"tagName":"meta","content":null,"attributes":{"property":null,"content":"@xxx","name":"twitter:site"}},{"tagName":"meta","content":null,"attributes":{"property":null,"content":"summary","name":"twitter:card"}},{"tagName":"meta","content":null,"attributes":{"property":"article:modified_time","content":"2019-02-22T20:31:56Z","name":null}},{"tagName":"meta","content":null,"attributes":{"property":"article:publisher","content":"https://www.facebook.com/xxx","name":null}},{"tagName":"meta","content":null,"attributes":{"property":"og:locale","content":"en_EN","name":null}},{"tagName":"meta","content":null,"attributes":{"property":"og:type","content":"article","name":null}},{"tagName":"meta","content":null,"attributes":{"property":"og:site_name","content":"Creative Inc.","name":null}},{"tagName":"meta","content":null,"attributes":{"property":"og:image","content":"https://www.datocms-assets.com/604/1479910348-free-corporate-identity-mockup.jpg","name":null}},{"tagName":"meta","content":null,"attributes":{"property":null,"content":"https://www.datocms-assets.com/604/1479910348-free-corporate-identity-mockup.jpg","name":"twitter:image"}}]},"title":"Labs Week 2","excerpt":"Week 2 Journal","gallery":[{"fluid":{"src":"https://www.datocms-assets.com/9895/1550866723-screen-shot-2019-02-22-at-12-17-36-pm.png?auto=compress&fm=jpg&h=111.7252931323283&w=200"}},{"fluid":{"src":"https://www.datocms-assets.com/9895/1550867143-screen-shot-2019-02-22-at-12-25-10-pm.png?auto=compress&fm=jpg&h=67.00942587832049&w=200"}},{"fluid":{"src":"https://www.datocms-assets.com/9895/1550867147-screen-shot-2019-02-22-at-12-24-43-pm.png?auto=compress&fm=jpg&h=137.69799366420276&w=200"}},{"fluid":{"src":"https://www.datocms-assets.com/9895/1550867247-screen-shot-2019-02-22-at-12-27-15-pm.png?auto=compress&fm=jpg&h=33.587786259541986&w=200"}},{"fluid":{"src":"https://www.datocms-assets.com/9895/1550867376-screen-shot-2019-02-22-at-12-29-25-pm.png?auto=compress&fm=jpg&h=180.28616852146263&w=200"}}],"descriptionNode":{"childMarkdownRemark":{"html":"<h2>Individual Accomplishments this Week</h2>\n<p>My main accomplishment this week was definitely the backend proxy server. I set up Stripe-checkout last week in a day and thought the process was too easy. It wasn't easy, but went a lot quicker than I had anticipated. Well, Stripe was running, but stopped working once we had our frontend deployed on Netlify. Netlify is HTTPS and the backend is HTTP... It caused problems, but we were able to overcome them. Read below to see a more detailed analysis.</p>\n<p><img src=\"https://www.datocms-assets.com/9895/1550867376-screen-shot-2019-02-22-at-12-29-25-pm.png\"></p>\n<h2>Tasks Pulled</h2>\n<p>List the tasks you pulled this week, and provide a link to the successfully merged PR completing that task and the trello card for that task.  You must have at least one front end and one back end. The expected total is 6 with a minimum of 4.</p>\n<p>Front End</p>\n<ol>\n<li><a href=\"https://github.com/Lambda-School-Labs/labs10-big-files/pull/49\">https://github.com/Lambda-School-Labs/labs10-big-files/pull/49</a></li>\n<li><a href=\"https://trello.com/c/hibkGSgb/14-stripe\">https://trello.com/c/hibkGSgb/14-stripe</a></li>\n</ol>\n<p>Back End</p>\n<ol>\n<li><a href=\"https://github.com/Lambda-School-Labs/labs10-big-files/pull/50\">https://github.com/Lambda-School-Labs/labs10-big-files/pull/50</a></li>\n<li><a href=\"https://github.com/Lambda-School-Labs/labs10-big-files/pull/82\">https://github.com/Lambda-School-Labs/labs10-big-files/pull/82</a></li>\n<li><a href=\"https://github.com/Lambda-School-Labs/labs10-big-files/pull/63\">https://github.com/Lambda-School-Labs/labs10-big-files/pull/63</a></li>\n</ol>\n<p>Stripe is the main visible contribution I've made this week. Most of my time has been used in creating/updating the RDS DB, AWS EB/EC2, and setting up a proxy server. Stripe, however, has both backend and frontend files.</p>\n<h2>Detailed Analysis</h2>\n<p>As mentioned, Stripe wasn't as easy as I anticipated. It also wasn't as difficult as others have made it sound. Last week I mentioned that \"I don't know how the FE deployed on Netlify can call to localhost:8000/charge, but it can.\" This gave me a false positive. It turns out that Netlify(in a Chrome browser) can locate your localhost and make the charge. Super weird, but it can. Doesn't work on any other browser. After figuring this out, I moved on to deal with Stripe's refusal to go from an HTTPS site to a HTTP site(our deployed BE with AWS). The fix, while relatively simple in theory, was much harder to implement than expected. I purchased a .app domain from Google. That was my first mistake. AWS and Google don't always play nice. I ended up purchasing backendproxy.com from Amazon and pointed our BE to it. Now we run all our traffic through this BE proxy!</p>\n<p><img src=\"https://www.datocms-assets.com/9895/1550867247-screen-shot-2019-02-22-at-12-27-15-pm.png\"></p>\n<h2>Milestone Reflection</h2>\n<p>Put your response to the weekly question and a link to your team journal assignment here.</p>\n<p>Front and back end servers are connected\n<img src=\"https://www.datocms-assets.com/9895/1550866723-screen-shot-2019-02-22-at-12-17-36-pm.png\">\nUsers can create accounts and log in through the front end via OAuth\n<img src=\"https://www.datocms-assets.com/9895/1550867143-screen-shot-2019-02-22-at-12-25-10-pm.png\">\n<img src=\"https://www.datocms-assets.com/9895/1550867147-screen-shot-2019-02-22-at-12-24-43-pm.png\"></p>\n<p>All APIs and services are connected and can be interacted with through the front end. A test message is acceptable to meet this requirement\nAll systems GO!</p>"}},"coverImage":{"url":"https://www.datocms-assets.com/604/1479910348-free-corporate-identity-mockup.jpg","fluid":{"base64":"data:undefined;base64,","aspectRatio":1.166407465007776,"src":"https://www.datocms-assets.com/604/1479910348-free-corporate-identity-mockup.jpg?auto=compress&fm=jpg&h=514.4&w=600","srcSet":"https://www.datocms-assets.com/604/1479910348-free-corporate-identity-mockup.jpg?auto=compress&fit=crop&fm=jpg&h=129&w=150 150w,\nhttps://www.datocms-assets.com/604/1479910348-free-corporate-identity-mockup.jpg?auto=compress&fit=crop&fm=jpg&h=257&w=300 300w,\nhttps://www.datocms-assets.com/604/1479910348-free-corporate-identity-mockup.jpg?auto=compress&fit=crop&fm=jpg&h=514&w=600 600w,\nhttps://www.datocms-assets.com/604/1479910348-free-corporate-identity-mockup.jpg?auto=compress&fit=crop&fm=jpg&h=514&w=600 600w","sizes":"(max-width: 600px) 100vw, 600px"}}}},"pageContext":{"slug":"week2"}}