<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Henry Kirkness on Medium]]></title>
        <description><![CDATA[Stories by Henry Kirkness on Medium]]></description>
        <link>https://medium.com/@henrykirkness?source=rss-b869272b3d4------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*D6qj1TAwTApnE6Ozc9vyfQ.jpeg</url>
            <title>Stories by Henry Kirkness on Medium</title>
            <link>https://medium.com/@henrykirkness?source=rss-b869272b3d4------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Thu, 19 Nov 2026 11:06:18 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@henrykirkness/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[How to survive a Penetration Test as a GraphQL developer]]></title>
            <link>https://medium.com/planes-agency/how-to-survive-a-penetration-test-as-a-graphql-developer-2759cababf8e?source=rss-b869272b3d4------2</link>
            <guid isPermaLink="false">https://medium.com/p/2759cababf8e</guid>
            <category><![CDATA[web-development]]></category>
            <category><![CDATA[graphql]]></category>
            <category><![CDATA[typescript]]></category>
            <category><![CDATA[javascript]]></category>
            <category><![CDATA[security]]></category>
            <dc:creator><![CDATA[Henry Kirkness]]></dc:creator>
            <pubDate>Wed, 09 Jan 2019 15:59:19 GMT</pubDate>
            <atom:updated>2020-11-02T08:02:53.569Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*-yRGlJjeQdzV93esWQO_2Q.png" /></figure><p>This post has moved to the Planes blog <a href="https://blog.planes.studio/how-to-survive-a-penetration-test-as-a-graph-ql-developer">here</a>.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=2759cababf8e" width="1" height="1" alt=""><hr><p><a href="https://medium.com/planes-agency/how-to-survive-a-penetration-test-as-a-graphql-developer-2759cababf8e">How to survive a Penetration Test as a GraphQL developer</a> was originally published in <a href="https://medium.com/planes-agency">Planes</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Introducing Expobook:]]></title>
            <link>https://blog.expo.dev/introducing-expobook-8fbf7a125a9d?source=rss-b869272b3d4------2</link>
            <guid isPermaLink="false">https://medium.com/p/8fbf7a125a9d</guid>
            <category><![CDATA[expo]]></category>
            <category><![CDATA[react-native]]></category>
            <category><![CDATA[mobile-app-development]]></category>
            <category><![CDATA[mobile-app-design]]></category>
            <dc:creator><![CDATA[Henry Kirkness]]></dc:creator>
            <pubDate>Tue, 10 Apr 2018 20:20:50 GMT</pubDate>
            <atom:updated>2018-04-10T20:20:50.814Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/500/1*Xg06m_JFhhSKG9ZptiBTbQ.gif" /></figure><h4>Present and develop your react-native UI components in a separate Expo app.</h4><p><strong>tl;dr </strong><em>we’ve built a tool called Expobook, similar to StoryBook for react-native, and you can try it </em><a href="https://github.com/teamplanes/expobook"><em>here</em></a><em>.</em></p><p>This month my friend (<a href="https://github.com/Rigellute">Alexander Keliris</a>) and I sat down to try and crack a project idea he’d had after being asked by his designers to share his react-native components. It was to build a <a href="https://github.com/storybooks/storybook">StoryBook</a>-like developer experience for react-native through <a href="https://expo.io/">Expo</a>, 🤔… essentially, as a developer, you’d be able to install this module into your existing react-native project (whether an Expo or react-native-init project), select the components you want to add to the component library, and then run the CLI tool to open an Expo app with all your components inside.</p><p>I always like to work on these kind of things in reverse, so I write more-or-less the documentation and then backwards-engineer it. Those docs looked something like this:</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/4b01698f546f335147821d65ea74c08a/href">https://medium.com/media/4b01698f546f335147821d65ea74c08a/href</a></iframe><p>We started one Saturday morning with a little prep beforehand. It started well: we managed to prove the concept within a couple hours and were relatively confident that this tool was achievable. Two hours later, we were banging our heads against the wall. We had react-native being imported twice and could see no way around it (it was required separately by both our nested Expo project and the parent project). We decided we should park it and have a implementation rethink — and a stiff drink.</p><p>The problem boiled down to having react-native installed twice and so we were getting ‘Ambiguous Resolution’ errors thrown. We needed react-native installed as a dependency of this library, and obviously it would always be installed in the parent project.</p><p>A couple of revisits later and we’d cracked it: we just need the libraries’ ‘project’ run from the root of the parent project — so CLI process will make a copy of the files to its new home and bingo!</p><p>Our implementation will now allow you to compile your components into a separate expo project without interfering with your main project. Expo has the perfect developer experience so now, even if you’re lumped with a non-Expo project, you’ll be able to develop your components in an Expo environment. Give it a go by installing and setting up as follows:</p><ul><li>Install the library:<br>$ npm i --save-dev expobook</li><li>Create your expobook entry file:<br>$ touch expobook.js</li><li>Add your components to your expobook.js file:</li></ul><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/4b01698f546f335147821d65ea74c08a/href">https://medium.com/media/4b01698f546f335147821d65ea74c08a/href</a></iframe><ul><li>Run expobook using:<br>./node_modules/.bin/expobook</li><li>Or better yet, add &quot;expobook&quot;: &quot;./node_modules/.bin/expobook&quot; to your package.json &quot;scripts&quot; section, then run $ npm run expobook</li></ul><p>Enjoy! 👍</p><p>Love this, or have follow-up questions? Catch up with our awesome guest-bloggers Twitter (<a href="https://twitter.com/HenryKirkness">Henry</a> / <a href="https://twitter.com/AlexKeliris">Alex</a>) and on Github (<a href="https://github.com/kirkness">Henry</a> / <a href="https://github.com/Rigellute">Alex</a>), or see the <a href="https://github.com/teamplanes/expobook">Expobook project on Github</a>.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=8fbf7a125a9d" width="1" height="1" alt=""><hr><p><a href="https://blog.expo.dev/introducing-expobook-8fbf7a125a9d">Introducing Expobook:</a> was originally published in <a href="https://blog.expo.dev/">Exposition</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Present and develop your react-native UI components in a separate Expo app with Expobook]]></title>
            <link>https://medium.com/planes-agency/present-and-develop-your-react-native-ui-components-in-a-separate-expo-app-with-expobook-a8ec6962e3a0?source=rss-b869272b3d4------2</link>
            <guid isPermaLink="false">https://medium.com/p/a8ec6962e3a0</guid>
            <category><![CDATA[mobile-app-development]]></category>
            <category><![CDATA[reactjs]]></category>
            <category><![CDATA[react-native]]></category>
            <category><![CDATA[javascript]]></category>
            <category><![CDATA[expo]]></category>
            <dc:creator><![CDATA[Henry Kirkness]]></dc:creator>
            <pubDate>Tue, 03 Apr 2018 10:31:08 GMT</pubDate>
            <atom:updated>2018-04-12T09:08:30.301Z</atom:updated>
            <content:encoded><![CDATA[<blockquote>tldr; We’ve built a tool called Expobook, a tool similar to StoryBook for react-native, you can try it here: <a href="https://github.com/teamplanes/expobook">https://github.com/teamplanes/expobook</a></blockquote><p>This post has been moved to the Expo blog -&gt; <a href="https://blog.expo.io/introducing-expobook-8fbf7a125a9d">https://blog.expo.io/introducing-expobook-8fbf7a125a9d</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=a8ec6962e3a0" width="1" height="1" alt=""><hr><p><a href="https://medium.com/planes-agency/present-and-develop-your-react-native-ui-components-in-a-separate-expo-app-with-expobook-a8ec6962e3a0">Present and develop your react-native UI components in a separate Expo app with Expobook</a> was originally published in <a href="https://medium.com/planes-agency">Planes</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Static Website Deployments on AWS the easy way]]></title>
            <link>https://medium.com/planes-agency/static-awss3-cloudfront-cmd-deployment-e7acba06697a?source=rss-b869272b3d4------2</link>
            <guid isPermaLink="false">https://medium.com/p/e7acba06697a</guid>
            <category><![CDATA[static-site]]></category>
            <category><![CDATA[devops]]></category>
            <category><![CDATA[web-development]]></category>
            <category><![CDATA[aws]]></category>
            <category><![CDATA[javascript]]></category>
            <dc:creator><![CDATA[Henry Kirkness]]></dc:creator>
            <pubDate>Thu, 01 Mar 2018 15:18:06 GMT</pubDate>
            <atom:updated>2018-03-01T15:18:06.766Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/800/1*qIan7ftLOpnzpnlJy-JpKw.gif" /><figcaption>static — get it?</figcaption></figure><p><strong><em>tldr; </em></strong><em>checkout </em><a href="https://github.com/teamplanes/static"><em>static</em></a><em>, a tool to deploy to S3 + CloudFront in a single cmd.</em></p><p>Last month at <a href="http://planes.agency/">Planes</a> we started a project for a client that was prime for static hosting, a very small piece of UI that would be used globally and need to scale to 100,000 concurrent users. I began browsing options and narrowed it down to the following:</p><ul><li><strong>Surge.sh</strong> — easy deployment, files are served over a CDN and it seemed like I’d only need the free tier for this project.</li><li><strong>GitHub Pages</strong> — super fast and very easy to deploy but lacks some functionality I’ve needed for other projects such as the ability to add client-side routing— this won’t be a blocker for this project.</li><li><strong>Some sort of AWS setup</strong> — I had no idea what this would look like at this point but knew that it would be the ‘legit’ option.</li></ul><p>Deploying to AWS S3 and CloudFront isn’t easy, or at least, a faff! You’ll find yourself dipping in and out of the AWS dashboard hourly, and if you are like me, not enjoying it. Deploying involves tying in a number of different services that all seem daunting and over-cumbersome in the age of development we are in. Im a sucker for things either being automated or beautiful, and using the AWS console is neither for me 😬.</p><h4>Surge.sh</h4><p>Surge allows developers to deploy to a CDN in seconds and prides its self on allowing developers to ‘not leave the command line’ — ka-ching! I’d already loved using <a href="https://surge.sh/">Surge.sh</a> on another project so jumped straight to it.</p><p>$ surge ./build my-domain.com is all you need to deploy.</p><p>Naturally I had some overriding worries (although unfounded) that Surge wouldn’t handle the project’s requirements of up to 100,000 concurrent users, it seemed too good to be true. I took this worry to Surge’s slack channel but was quickly defused by the creator who responded with “just let us know when you are going live, shouldn’t be a problem”, 😍, wow. Although I was feeling more-or-less confident, it didn’t seem right to risk the project and add workload to Surge when Im not even a paid plan customer!</p><p>This led me to compare against GitHub Pages…</p><h4>GitHub Pages</h4><p>To publish to <a href="https://pages.github.com/">GitHub Pages</a> its as easy as creating a branch with your built site and pushing to it, or with the gh-pages cli with command gh-pages -d ./build. Simple.</p><p>I did some very basic performance load time testing to compare with Surge, the results were pretty conclusive; <strong>Surge.sh was loading in about 300–500ms</strong>, whereas <strong>GitHub was under 100ms</strong>.</p><p>It has lightening page load times and is easy to deploy, and although I don’t need to use client-side routing for this project GitHub Pages does have limits on bandwidth. Best not risk it.</p><p>With this in mind, the ‘legit’ AWS setup seemed the only option.</p><h4>AWS S3 and CloudFront</h4><p><a href="https://aws.amazon.com/s3/">AWS’ S3</a> provides a way of hosting static assets most frequently used to serve images on the web. As with most services on AWS it can be configured to fit almost any use case.</p><p>I began searching the plentiful articles on the topic of deploying static sites, they pretty much all boiled down to the following:</p><ul><li>Create a new S3 bucket called whatever your domain is (if you are using a custom domain)</li><li>Upload your site’s files to the bucket</li><li>Enable ‘Static Website Hosting’ for the bucket</li><li>Create a new CloudFront Distribution</li><li>Fill out the distribution config to point to the S3 bucket</li></ul><p>After re-releasing you’ll then need to create a new ‘Invalidation’ for your CloudFront distribution to update the cache in your CDN. This process is the cost of using incredibly powerful tools.</p><p>Asides from the cumbersome setup process, AWS was the perfect fit for my project, I had the performance and scalability whilst retaining control if things blew up, but I missed Surge… 😩. This is where I decided to build <a href="https://github.com/teamplanes/static">Static</a>, a single command to bring me (and others if they so desire) the joy of Surge’s simplicity alongside the power of AWS. Here’s a few things that Static provides:</p><ul><li><strong>Deployed to S3:</strong> Deploys your directory to an S3 bucket.</li><li><strong>Custom domains:</strong> prefixed with your domain name (or a random string if none is provided).</li><li><strong>Automatic Static Hosting:</strong> Enables Static Hosting for your bucket.</li><li><strong>CDN’d via CloudFront:</strong> Creates a CloudFront distribution so that your site is served over a CDN, making it speedy wherever you are in the world.</li><li><strong>Invalidates cache on each deploy:</strong> It will update the cache of your CloudFront distribution if one exists.</li><li><strong>Client Side Routing:</strong> It’ll handle both standard static routing OR client side routing.</li><li><strong>Custom error pages:</strong> If you aren’t using client side routing you can add your own 404 page by adding a 404.html document to the route of your directory.</li><li><strong>Clean URLs:</strong> All URLs will be ‘cleaned’, i.e. your-domain.com/hello.html is reached via your-domain.com/hello.</li></ul><p>So we’ve got almost exactly the same functionality as Surge in a single command (static ./ domain.com) with all of the benefits of using AWS, 🎉.</p><p>I hope you enjoy.</p><p>p.s. To install: npm i -g sttc</p><h4>Munity</h4><p>This project was part of our (Planes’) 12 month mission to<a href="https://medium.com/planes-agency/what-is-munity-818f37815e39"> build a product a month</a>. Last month‘s product was <a href="http://munity.planes.agency/">Munity</a>, a platform for sharing ideas with other product peeps — and hopefully collaborate and get them built. We’ll mostly be picking the top voted project each month from Munity and will be working with the poster to get it released.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=e7acba06697a" width="1" height="1" alt=""><hr><p><a href="https://medium.com/planes-agency/static-awss3-cloudfront-cmd-deployment-e7acba06697a">Static Website Deployments on AWS the easy way</a> was originally published in <a href="https://medium.com/planes-agency">Planes</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>