<?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[Zeiq - Medium]]></title>
        <description><![CDATA[Web development agency - Medium]]></description>
        <link>https://medium.com/zeiq?source=rss----925a3546e50b---4</link>
        <image>
            <url>https://cdn-images-1.medium.com/proxy/1*TGH72Nnw24QL3iV9IOm4VA.png</url>
            <title>Zeiq - Medium</title>
            <link>https://medium.com/zeiq?source=rss----925a3546e50b---4</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Mon, 30 Nov 2026 10:40:59 GMT</lastBuildDate>
        <atom:link href="https://medium.com/feed/zeiq" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Creating Static E-commerce site with GatsbyJs]]></title>
            <link>https://medium.com/zeiq/creating-static-e-commerce-site-with-gatsbyjs-a349d7e022a?source=rss----925a3546e50b---4</link>
            <guid isPermaLink="false">https://medium.com/p/a349d7e022a</guid>
            <category><![CDATA[gatsbyjs]]></category>
            <category><![CDATA[e-commerce-software]]></category>
            <category><![CDATA[static-site]]></category>
            <category><![CDATA[contentful]]></category>
            <category><![CDATA[web-development]]></category>
            <dc:creator><![CDATA[Perminder Klair]]></dc:creator>
            <pubDate>Thu, 19 Jul 2018 03:15:11 GMT</pubDate>
            <atom:updated>2018-06-12T11:54:05.895Z</atom:updated>
            <content:encoded><![CDATA[<p>So, a few days ago I saw tweet from <a href="https://medium.com/@kyle.robert.gill">Kayle Gill</a> about building static e-commerce site using <a href="https://www.gatsbyjs.org/">GatsbyJs</a>. That time I was in process of building an e-commerce website for my wife using NextJs (which is also awesome!).</p><p>Instead of building the site with NextJs I gave GatsbyJs a try. Within 3 days from Sketch design to the Live site, I made the site live. After that I tweeted about it and found that people are really interested in it.</p><h3>Perminder Klair on Twitter</h3><p>Never expected to create a Static Ecommerce site using amazing @gatsbyjs , payment using @stripe and @contentful as cms. Done layout using @sketchapp. Site is live at https://t.co/JA19w81pLZ (sorry about bad quality content, still sorting out). Should I make it open source?</p><p>Live demo of the site can be found here <a href="https://www.sejalsuits.co.uk/">https://www.sejalsuits.co.uk/</a></p><p>I decided to open source the code of the site, it’s on Github now and I will keep developing and pushing code there and keeping the code clean as much as possible so that anyone can pick it up and use without making huge changes. Keeping things simple.</p><p><a href="https://github.com/perminder-klair/gatsbyjs-ecommerce">perminder-klair/gatsbyjs-ecommerce</a></p><p>Also, API is on api branch, <a href="https://github.com/perminder-klair/gatsbyjs-ecommerce/tree/api">here it is</a>.</p><p>While its open sourced now, I thought of writing a little article to fully understand it. So here we go.</p><p><strong>Stack:</strong></p><ul><li>GatsbyJs (to build static site)</li><li>Contentful (Headless CMS)</li><li>Apollo Graphql (API for few mutations)</li></ul><p><strong>Services I used:</strong></p><ul><li>Netlify (to host GatsbyJs static site)</li><li>Now (to host Apollo API)</li><li>Contentful (to host data and CMS)</li><li>Stripe (Process payment)</li><li>Mailchimp (Subscription box)</li><li>Mailgun (Sending emails)</li><li>Blog (using Medium)</li></ul><h3>Frontend (static site)</h3><p><strong>Setup</strong></p><p>To change site config ./src/config/index.js</p><p>also add .envfile in the root, with content for example:</p><blockquote>CONTENTFUL_SPACE_ID=YOUR_KEY_HERE<br>CONTENTFUL_DELIVERY_API_TOKEN=YOUR_KEY_HERE<br>STRIPE_PUBLISHABLE_KEY=YOUR_KEY_HERE</blockquote><p>Run:</p><blockquote>yarn install</blockquote><p>To start development server</p><blockquote>yarn start</blockquote><p>Also added layout’s sketch file SejalSuits.sketchif anyone need it just in case, it’s in github repo.</p><h3>Backend (for sending data to contentful and some mails)</h3><p>We use API based on Apollo GraphQL Server. We use it for few mutations we got to send data to Contentful and some emails. It works for me, you can choose your stack to go with serverless or whatever you prefer.</p><p>To change API config ./src/config.js<br>You can also add .envfile in the root, with content for example:</p><blockquote>CONTENTFUL_SPACE_ID=YOUR_KEY_HERE<br>CONTENTFUL_DELIVERY_API_TOKEN=YOUR_KEY_HERE<br>MAILGUN_USER=YOUR_KEY_HERE<br>MAILGUN_PASSWORD=YOUR_KEY_HERE<br>MAILCHIMP_KEY=YOUR_KEY_HERE<br>MAILCHIMP_LIST=YOUR_KEY_HERE<br>STRIPE_KEY=YOUR_KEY_HERE<br>CONTENTFUL_SPACE_ID=YOUR_KEY_HERE<br>CONTENTFUL_MANAGEMENT_ACCESS_TOKEN=YOUR_KEY_HERE</blockquote><p>Run:</p><blockquote>yarn install</blockquote><p>To start development server</p><blockquote>yarn start</blockquote><p>For reference in setting up fields in Contentful’s Content Model, I have added some JSON files in the directory: ./contentful_fields</p><p>If you have any suggestions or fixes in mind to improve code base, feel free to comment below or make PR request.</p><p>By the way, this was my first article on medium and hopefully, it made some sense. Many thanks for your time.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=a349d7e022a" width="1" height="1" alt=""><hr><p><a href="https://medium.com/zeiq/creating-static-e-commerce-site-with-gatsbyjs-a349d7e022a">Creating Static E-commerce site with GatsbyJs</a> was originally published in <a href="https://medium.com/zeiq">Zeiq</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Welcome to Zeiq]]></title>
            <link>https://medium.com/zeiq/welcome-to-zeiq-d828721a2003?source=rss----925a3546e50b---4</link>
            <guid isPermaLink="false">https://medium.com/p/d828721a2003</guid>
            <dc:creator><![CDATA[Perminder Klair]]></dc:creator>
            <pubDate>Tue, 26 Jun 2018 07:35:51 GMT</pubDate>
            <atom:updated>2018-06-26T10:10:44.366Z</atom:updated>
            <content:encoded><![CDATA[<p>This is our first post, welcome!</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*lpsaorG8rIYgCgjAe15Zrw.jpeg" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=d828721a2003" width="1" height="1" alt=""><hr><p><a href="https://medium.com/zeiq/welcome-to-zeiq-d828721a2003">Welcome to Zeiq</a> was originally published in <a href="https://medium.com/zeiq">Zeiq</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>