Create A Bookmarking Application With FaunaDB, Netlify And 11ty

Netlify Dev running in the final project with our environment variable names showing

Create A Bookmarking Application With FaunaDB, Netlify And 11ty

Create A Bookmarking Application With FaunaDB, Netlify And 11ty

Bryan Robinson

2019-10-24T13:30:59+02:00
2019-10-25T12:36:23+00:00

The JAMstack (JavaScript, APIs and Markup) revolution is in full swing. Static sites are secure, fast, reliable and fun to work on. At the heart of the JAMstack are static site generators (SSGs) that store your data as flat files: Markdown, YAML, JSON, HTML, and so on. Sometimes, managing data this way can be overly complicated. Sometimes, we still need a database.

With that in mind, Netlify — a static site host and FaunaDB — a serverless cloud database — collaborated to make combining both systems easier.

Why A Bookmarking Site?

The JAMstack is great for many professional uses, but one of my favorite aspects of this set of technology is its low barrier to entry for personal tools and projects.

There are plenty of good products on the market for most applications I could come up with, but none would be exactly set up for me. None would give me full control over my content. None would come without a cost (monetary or informational).

With that in mind, we can create our own mini-services using JAMstack methods. In this case, we’ll be creating a site to store and publish any interesting articles I come across in my daily technology reading.

I spend a lot of time reading articles that have been shared on Twitter. When I like one, I hit the “heart” icon. Then, within a few days, it’s nearly impossible to find with the influx of new favorites. I want to build something as close to the ease of the “heart,” but that I own and control.

How are we going to do that? I’m glad you asked.

Interested in getting the code? You can grab it on Github or just deploy straight to Netlify from that repository! Take a look at the finished product here.

Our Technologies

Hosting And Serverless Functions: Netlify

For hosting and serverless functions, we’ll be utilizing Netlify. As an added bonus, with the new collaboration mentioned above, Netlify’s CLI — “Netlify Dev” — will automatically connect to FaunaDB and store our API keys as environment variables.

Database: FaunaDB

FaunaDB is a “serverless” NoSQL database. We’ll be using it to store our bookmarks data.

Static Site Generator: 11ty

I’m a big believer in HTML. Because of this, the tutorial won’t be using front-end JavaScript to render our bookmarks. Instead, we’ll utilize 11ty as a static site generator. 11ty has built-in data functionality that makes fetching data from an API as easy as writing a couple of short JavaScript functions.

iOS Shortcuts

We’ll need an easy way to post data to our database. In this case, we’ll use iOS’s Shortcuts app. This could be converted to an Android or desktop JavaScript bookmarklet, as well.

Setting Up FaunaDB Via Netlify Dev

Whether you have already signed up for FaunaDB or you need to create a new account, the easiest way to set up a link between FaunaDB and Netlify is via Netlify’s CLI: Netlify Dev. You can find full instructions from FaunaDB here or follow along below.

Netlify Dev running in the final project with our environment variable names showing

Netlify Dev running in the final project with our environment variable names showing (Large preview)

If you don’t already have this installed, you can run the following command in Terminal:

npm install netlify-cli -g

From within your project directory, run through the following commands:

netlify init // This will connect your project to a Netlify project

netlify addons:create fauna // This will install the FaunaDB "addon"

netlify addons:auth fauna // This command will run you through connecting your account or setting up an account

Once this is all connected, you can run netlify dev in your project. This will run any build scripts we set up, but also connect to the Netlify and FaunaDB services and grab any necessary environment variables. Handy!

Creating Our First Data

From here, we’ll log into FaunaDB and create our first data set. We’ll start by creating a new Database called “bookmarks.” Inside a Database, we have Collections, Documents and Indexes.

A screenshot of the FaunaDB console with data

A screenshot of the FaunaDB console with data (Large preview)

A Collection is a categorized group of data. Each piece of data takes the form of a Document. A Document is a “single, changeable record within a FaunaDB database,” according to Fauna’s documentation. You can think of Collections as a traditional database table and a Document as a row.

For our application, we need one Collection, which we’ll call “links.” Each document within the “links” Collection will be a simple JSON object with three properties. To start, we’ll add a new Document that we’ll use to build our first data fetch.

{
  "url": "https://css-irl.info/debugging-css-grid-part-2-what-the-fraction/",
  "pageTitle": "CSS { In Real Life } | Debugging CSS Grid – Part 2: What the Fr(action)?",
  "description": "CSS In Real Life is a blog covering CSS topics and useful snippets on the web's most beautiful language. Published by Michelle Barker, front end developer at Ordoo and CSS superfan."
}

This creates the basis for the information we’ll need to pull from our bookmarks as well as provides us with our first set of data to pull into our template.

If you’re like me, you want to see the fruits of your labor right away. Let’s get something on the page!

Installing 11ty And Pulling Data Into A Template

Since we want the bookmarks to be rendered in HTML and not fetched by the browser, we’ll need something to do the rendering. There are many great ways of doing it, but for ease and power, I love using the 11ty static site generator.

Since 11ty is a JavaScript static site generator, we can install it via NPM.

npm install --save @11ty/eleventy

From that installation, we can run eleventy or eleventy --serve in our project to get up and running.

Netlify Dev will often detect 11ty as a requirement and run the command for us. To have this work – and make sure we’re ready to deploy, we can also create “serve” and “build” commands in our package.json.

"scripts": {
    "build": "npx eleventy",
    "serve": "npx eleventy --serve"
  }

11ty’s Data Files

Most static site generators have an idea of a “data file” built-in. Usually, these files will be JSON or YAML files that allow you to add extra information to your site.

In 11ty, you can use JSON data files or JavaScript data files. By utilizing a JavaScript file, we can actually make our API calls and return the data directly into a template.

By default, 11ty wants data files stored in a _data directory. You can then access the data by using the file name as a variable in your templates. In our case, we’ll create a file at _data/bookmarks.js and access that via the {{ bookmarks }} variable name.

If you want to dig deeper into data file configuration, you can read through examples in the 11ty documentation or check out this tutorial on using 11ty data files with the Meetup API.

The file will be a JavaScript module. So in order to have anything work, we need to export either our data or a function. In our case, we’ll export a function.

module.exports = async function() {  
    const data = mapBookmarks(await getBookmarks());  

    return data.reverse()  
}

Let’s break that down. We have two functions doing our main work here: mapBookmarks() and getBookmarks().

The getBookmarks() function will go fetch our data from our FaunaDB database and mapBookmarks() will take an array of bookmarks and restructure it to work better for our template.

Let’s dig deeper into getBookmarks().

getBookmarks()

First, we’ll need to install and initialize an instance of the FaunaDB JavaScript driver.

npm install --save faunadb

Now that we’ve installed it, let’s add it to the top of our data file. This code is straight from Fauna’s docs.

// Requires the Fauna module and sets up the query module, which we can use to create custom queries.
const faunadb = require('faunadb'),  
      q = faunadb.query;

// Once required, we need a new instance with our secret
var adminClient = new faunadb.Client({  
   secret: process.env.FAUNADB_SERVER_SECRET  
});

After that, we can create our function. We’ll start by building our first query using built-in methods on the driver. This first bit of code will return the database references we can use to get full data for all of our bookmarked links. We use the Paginate method, as a helper to manage cursor state should we decide to paginate the data before handing it to 11ty. In our case, we’ll just return all the references.

In this example, I’m assuming you installed and connected FaunaDB via the Netlify Dev CLI. Using this process, you get local environment variables of the FaunaDB secrets. If you didn’t install it this way or aren’t running netlify dev in your project, you’ll need a package like dotenv to create the environment variables. You’ll also need to add your environment variables to your Netlify site configuration to make deploys work later.

adminClient.query(q.Paginate(  
       q.Match( // Match the reference below
           q.Ref("indexes/all_links") // Reference to match, in this case, our all_links index  
       )  
   ))  
   .then( response => { ... })

This code will return an array of all of our links in reference form. We can now build a query list to send to our database.

adminClient.query(...)
    .then((response) => {  
        const linkRefs = response.data; // Get just the references for the links from the response 
        const getAllLinksDataQuery = linkRefs.map((ref) => {  
        return q.Get(ref) // Return a Get query based on the reference passed in  
   })  

return adminClient.query(getAllLinksDataQuery).then(ret => {  
    return ret // Return an array of all the links with full data  
       })  
   }).catch(...)

From here, we just need to clean up the data returned. That’s where mapBookmarks() comes in!

mapBookmarks()

In this function, we deal with two aspects of the data.

First, we get a free dateTime in FaunaDB. For any data created, there’s a timestamp (ts) property. It’s not formatted in a way that makes Liquid’s default date filter happy, so let’s fix that.

function mapBookmarks(data) {
    return data.map(bookmark => {
        const dateTime = new Date(bookmark.ts / 1000);
        ...
    })
}

With that out of the way, we can build a new object for our data. In this case, it will have a time property, and we’ll use the Spread operator to destructure our data object to make them all live at one level.

function mapBookmarks(data) {
    return data.map(bookmark => {
        const dateTime = new Date(bookmark.ts / 1000);

        return { time: dateTime, ...bookmark.data }
    })
}

Here’s our data before our function:

{ 
  ref: Ref(Collection("links"), "244778237839802888"),
  ts: 1569697568650000,
  
  data: { 
    url: 'https://sample.com',
    pageTitle: 'Sample title',
    description: 'An escaped description goes here' 
  } 
}

Here’s our data after our function:

{
    time: 1569697568650,
    url: 'https://sample.com',
    pageTitle: 'Sample title'
    description: 'An escaped description goes here'
}

Now, we’ve got well-formatted data that’s ready for our template!

Let’s write a simple template. We’ll loop through our bookmarks and validate that each has a pageTitle and a url so we don’t look silly.

<div class="bookmarks">  
   {% for link in bookmarks %}  
       {% if link.url and link.pageTitle %} // confirms there's both title AND url for safety

        <div class="bookmark">  
            <h2><a href="{{ link.url }}">{{ link.pageTitle }}</a></h2>  
            <p>Saved on {{ link.time | date: "%b %d, %Y"  }}</p>
            {% if link.description != "" %}  
                <p>{{ link.description }}</p>  
            {% endif %}
        </div>  

       {% endif %}  
   {% endfor %}  
</div>

We’re now ingesting and displaying data from FaunaDB. Let’s take a moment and think about how nice it is that this renders out pure HTML and there’s no need to fetch data on the client side!

But that’s not really enough to make this a useful app for us. Let’s figure out a better way than adding a bookmark in the FaunaDB console.

Enter Netlify Functions

Netlify’s Functions add-on is one of the easier ways to deploy AWS lambda functions. Since there’s no configuration step, it’s perfect for DIY projects where you just want to write the code.

This function will live at a URL in your project that looks like this: https://myproject.com/.netlify/functions/bookmarks assuming the file we create in our functions folder is bookmarks.js.

Basic Flow

  1. Pass a URL as a query parameter to our function URL.
  2. Use the function to load the URL and scrape the page’s title and description if available.
  3. Format the details for FaunaDB.
  4. Push the details to our FaunaDB Collection.
  5. Rebuild the site.

Requirements

We’ve got a few packages we’ll need as we build this out. We’ll use the netlify-lambda CLI to build our functions locally. request-promise is the package we’ll use for making requests. Cheerio.js is the package we’ll use to scrape specific items from our requested page (think jQuery for Node). And finally, we’ll need FaunaDb (which should already be installed.

npm install --save netlify-lambda request-promise cheerio

Once that’s installed, let’s configure our project to build and serve the functions locally.

We’ll modify our “build” and “serve” scripts in our package.json to look like this:

"scripts": {
    "build": "npx netlify-lambda build lambda --config ./webpack.functions.js && npx eleventy",
    "serve": "npx netlify-lambda build lambda --config ./webpack.functions.js && npx eleventy --serve"
}

Warning: There’s an error with Fauna’s NodeJS driver when compiling with Webpack, which Netlify’s Functions use to build. To get around this, we need to define a configuration file for Webpack. You can save the following code to a newor existingwebpack.config.js.

const webpack = require('webpack');

module.exports = {
  plugins: [ new webpack.DefinePlugin({ "global.GENTLY": false }) ]
};

Once this file exists, when we use the netlify-lambda command, we’ll need to tell it to run from this configuration. This is why our “serve” and “build scripts use the --config value for that command.

Function Housekeeping

In order to keep our main Function file as clean as possible, we’ll create our functions in a separate bookmarks directory and import them into our main Function file.

import { getDetails, saveBookmark } from "./bookmarks/create";

getDetails(url)

The getDetails() function will take a URL, passed in from our exported handler. From there, we’ll reach out to the site at that URL and grab relevant parts of the page to store as data for our bookmark.

We start by requiring the NPM packages we need:

const rp = require('request-promise');  
const cheerio = require('cheerio');

Then, we’ll use the request-promise module to return an HTML string for the requested page and pass that into cheerio to give us a very jQuery-esque interface.

const getDetails = async function(url) {  
    const data = rp(url).then(function(htmlString) {  
        const $ = cheerio.load(htmlString);  
        ...  
}

From here, we need to get the page title and a meta description. To do that, we’ll use selectors like you would in jQuery.

Note: In this code, we use 'head > title' as the selector to get the title of the page. If you don’t specify this, you may end up getting </code> <em>tags inside of all SVGs on the page, which is less than ideal.</em></p> <div> <pre><code>const getDetails = async function(url) { const data = rp(url).then(function(htmlString) { const $ = cheerio.load(htmlString); const title = $('head > title').text(); // Get the text inside the tag const description = $('meta[name="description"]').attr('content'); // Get the text of the content attribute // Return out the data in the structure we expect return { pageTitle: title, description: description }; }); return data //return to our main function }</code></pre> </div> <p>With data in hand, it’s time to send our bookmark off to our Collection in FaunaDB!</p> <h4><code>saveBookmark(details)</code></h4> <p>For our save function, we’ll want to pass the details we acquired from <code>getDetails</code> as well as the URL as a singular object. The Spread operator strikes again!</p> <pre><code>const savedResponse = await saveBookmark({url, ...details});</code></pre> <p>In our <code>create.js</code> file, we also need to require and setup our FaunaDB driver. This should look very familiar from our 11ty data file.</p> <pre><code>const faunadb = require('faunadb'), q = faunadb.query; const adminClient = new faunadb.Client({ secret: process.env.FAUNADB_SERVER_SECRET }); </code></pre> <p>Once we’ve got that out of the way, we can code.</p> <div></div> <p>First, we need to format our details into a data structure that Fauna is expecting for our query. Fauna expects an object with a data property containing the data we wish to store.</p> <pre><code>const saveBookmark = async function(details) { const data = { data: details }; ... }</code></pre> <p>Then we’ll open a new query to add to our Collection. In this case, we’ll use our query helper and use the Create method. Create() takes two arguments. First is the Collection in which we want to store our data and the second is the data itself.</p> <p>After we save, we return either success or failure to our handler.</p> <div> <pre><code>const saveBookmark = async function(details) { const data = { data: details }; return adminClient.query(q.Create(q.Collection("links"), data)) .then((response) => { /* Success! return the response with statusCode 200 */ return { statusCode: 200, body: JSON.stringify(response) } }).catch((error) => { /* Error! return the error with statusCode 400 */ return { statusCode: 400, body: JSON.stringify(error) } }) }</code></pre> </div> <p>Let’s take a look at the full Function file.</p> <div> <pre><code>import { getDetails, saveBookmark } from "./bookmarks/create"; import { rebuildSite } from "./utilities/rebuild"; // For rebuilding the site (more on that in a minute) exports.handler = async function(event, context) { try { const url = event.queryStringParameters.url; // Grab the URL const details = await getDetails(url); // Get the details of the page const savedResponse = await saveBookmark({url, ...details}); //Save the URL and the details to Fauna if (savedResponse.statusCode === 200) { // If successful, return success and trigger a Netlify build await rebuildSite(); return { statusCode: 200, body: savedResponse.body } } else { return savedResponse //or else return the error } } catch (err) { return { statusCode: 500, body: `Error: ${err}` }; } }; </code></pre> </div> <h4><code>rebuildSite()</code></h4> <p>The discerning eye will notice that we have one more function imported into our handler: <code>rebuildSite()</code>. This function will use Netlify’s Deploy Hook functionality to rebuild our site from the new data every time we submit a new — successful — bookmark save.</p> <p>In your site’s settings in Netlify, you can access your Build & Deploy settings and create a new “Build Hook.” Hooks have a name that appears in the Deploy section and an option for a non-master branch to deploy if you so wish. In our case, we’ll name it “new_link” and deploy our master branch.</p> <figure> <p> <a class="colorbox" rel="nofollow" href="https://cloud.netlifyusercontent.com/assets/344dbf88-fdf9-42bb-adb4-46f01eedd629/58bf7a4f-3248-4227-bb3c-0c2a6ed96d69/bookmarking-application-faunadb-netlify-11ty-netlify-build-hook.png"></p> <p> <img decoding="async" src="https://res.cloudinary.com/indysigner/image/fetch/f_auto,q_auto/w_400/https://cloud.netlifyusercontent.com/assets/344dbf88-fdf9-42bb-adb4-46f01eedd629/58bf7a4f-3248-4227-bb3c-0c2a6ed96d69/bookmarking-application-faunadb-netlify-11ty-netlify-build-hook.png" alt="A visual reference for the Netlify Admin's build hook setup"></p> <p> </a><figcaption> A visual reference for the Netlify Admin’s build hook setup (<a class="colorbox" rel="nofollow" href="https://cloud.netlifyusercontent.com/assets/344dbf88-fdf9-42bb-adb4-46f01eedd629/58bf7a4f-3248-4227-bb3c-0c2a6ed96d69/bookmarking-application-faunadb-netlify-11ty-netlify-build-hook.png">Large preview</a>)<br /> </figcaption></figure> <p>From there, we just need to send a POST request to the URL provided.</p> <p>We need a way of making requests and since we’ve already installed <code>request-promise</code>, we’ll continue to use that package by requiring it at the top of our file.</p> <div> <pre><code>const rp = require('request-promise'); const rebuildSite = async function() { var options = { method: 'POST', uri: 'https://api.netlify.com/build_hooks/5d7fa6175504dfd43377688c', body: {}, json: true }; const returned = await rp(options).then(function(res) { console.log('Successfully hit webhook', res); }).catch(function(err) { console.log('Error:', err); }); return returned } </code></pre> </div> <figure><figcaption>A demo of the Netlify Function setup and the iOS Shortcut setup combined</figcaption></figure> <h3>Setting Up An iOS Shortcut</h3> <p>So, we have a database, a way to display data and a function to add data, but we’re still not very user-friendly.</p> <p>Netlify provides URLs for our Lambda functions, but they’re not fun to type into a mobile device. We’d also have to pass a URL as a query parameter into it. That’s a LOT of effort. How can we make this as little effort as possible?</p> <figure> <p> <a class="colorbox" rel="nofollow" href="https://cloud.netlifyusercontent.com/assets/344dbf88-fdf9-42bb-adb4-46f01eedd629/d68438f8-23dc-4253-b34c-bce3428ade47/bookmarking-application-faunadb-netlify-11ty-ios-shortcuts-image.png"></p> <p> <img decoding="async" src="https://res.cloudinary.com/indysigner/image/fetch/f_auto,q_auto/w_400/https://cloud.netlifyusercontent.com/assets/344dbf88-fdf9-42bb-adb4-46f01eedd629/d68438f8-23dc-4253-b34c-bce3428ade47/bookmarking-application-faunadb-netlify-11ty-ios-shortcuts-image.png" alt="A visual reference for the setup for our Shortcut functionality"></p> <p> </a><figcaption> A visual reference for the setup for our Shortcut functionality (<a class="colorbox" rel="nofollow" href="https://cloud.netlifyusercontent.com/assets/344dbf88-fdf9-42bb-adb4-46f01eedd629/d68438f8-23dc-4253-b34c-bce3428ade47/bookmarking-application-faunadb-netlify-11ty-ios-shortcuts-image.png">Large preview</a>)<br /> </figcaption></figure> <p>Apple’s Shortcuts app allows the building of custom items to go into your share sheet. Inside these shortcuts, we can send various types of requests of data collected in the share process.</p> <p>Here’s the step-by-step Shortcut:</p> <ol> <li>Accept any items and store that item in a “text” block.</li> <li>Pass that text into a “Scripting” block to URL encode (just in case).</li> <li>Pass that string into a URL block with our Netlify Function’s URL and a query parameter of <code>url</code>.</li> <li>From “Network” use a “Get contents” block to POST to JSON to our URL.</li> <li>Optional: From “Scripting” “Show” the contents of the last step (to confirm the data we’re sending).</li> </ol> <p>To access this from the sharing menu, we open up the settings for this Shortcut and toggle on the “Show in Share Sheet” option.</p> <p>As of iOS13, these share “Actions” are able to be favorited and moved to a high position in the dialog.</p> <p>We now have a working “app” for sharing bookmarks across multiple platforms!</p> <h3>Go The Extra Mile!</h3> <p>If you’re inspired to try this yourself, there are a lot of other possibilities to add functionality. The joy of the DIY web is that you can make these sorts of applications work for you. Here are a few ideas:</p> <ol> <li>Use a faux “API key” for quick authentication, so other users don’t post to your site (mine uses an API key, so don’t try to post to it!).</li> <li>Add tag functionality to organize bookmarks.</li> <li>Add an RSS feed for your site so that others can subscribe.</li> <li>Send out a weekly roundup email programmatically for links that you’ve added.</li> </ol> <p>Really, the sky is the limit, so start experimenting!</p> <div> <p> <span>(dm, yk)</span> </div> </article> <p>From our sponsors: <a href="https://www.smashingmagazine.com/2019/10/bookmarking-application-faunadb-netlify-11ty/" class="colorbox" title="Create A Bookmarking Application With FaunaDB, Netlify And 11ty" rel="nofollow">Create A Bookmarking Application With FaunaDB, Netlify And 11ty</a></p> <div class="wf-table wf-mobile-collapsed"><div class="wf-td entry-meta"><span class="assistive-text">Posted on</span> <a href="https://www.cunninghamwebsolutions.com/2019/10/25/" title="1:52 pm" rel="bookmark"><time class="entry-date" datetime="2019-10-25T13:52:43+01:00">25th October 2019</time></a><a href="https://www.cunninghamwebsolutions.com/category/web-design/" >Web Design</a></div><div class="entry-share wf-td"> <div class="soc-ico"><a href="https://www.facebook.com/sharer.php?u=https://www.cunninghamwebsolutions.com/create-a-bookmarking-application-with-faunadb-netlify-and-11ty/&t=Create%20A%20Bookmarking%20Application%20With%20FaunaDB,%20Netlify%20And%2011ty" class="share-button facebook" target="_blank" title="Facebook"><span class="assistive-text">Facebook</span><span class="share-content">share</span></a><a href="https://twitter.com/home?status=Create%20A%20Bookmarking%20Application%20With%20FaunaDB,%20Netlify%20And%2011ty%20https://www.cunninghamwebsolutions.com/create-a-bookmarking-application-with-faunadb-netlify-and-11ty/" class="share-button twitter" target="_blank" title="Twitter"><span class="assistive-text">Twitter</span><span class="share-content">tweet</span></a><a href="https://plus.google.com/share?url=https://www.cunninghamwebsolutions.com/create-a-bookmarking-application-with-faunadb-netlify-and-11ty/&title=Create+A+Bookmarking+Application+With+FaunaDB,+Netlify+And+11ty" class="share-button google" target="_blank" title="Google+"><span class="assistive-text">Google+</span><span class="share-content">share</span></a></div> </div></div> <div class="gap-20"></div> <div class="hr-thick"></div><div class="gap-30"></div><h2 class="entry-title">Related posts</h2><div class="gap-10"></div><section class="items-grid wf-container"><div class="wf-cell wf-1-3"><div class="borders"><article class="post-format-standard"><a href="https://www.cunninghamwebsolutions.com/archived-3/" class="alignleft post-rollover no-avatar" ></a><div class="post-content"><a href="https://www.cunninghamwebsolutions.com/archived-3/">Archived</a><br /><time class="text-secondary" datetime="2023-03-22T07:24:26+00:00">22nd March 2023</time></div></article></div></div><div class="wf-cell wf-1-3"><div class="borders"><article class="post-format-standard"><a href="https://www.cunninghamwebsolutions.com/archived-2/" class="alignleft post-rollover no-avatar" ></a><div class="post-content"><a href="https://www.cunninghamwebsolutions.com/archived-2/">Archived</a><br /><time class="text-secondary" datetime="2023-03-18T10:34:42+00:00">18th March 2023</time></div></article></div></div><div class="wf-cell wf-1-3"><div class="borders"><article class="post-format-standard"><a href="https://www.cunninghamwebsolutions.com/archived/" class="alignleft post-rollover no-avatar" ></a><div class="post-content"><a href="https://www.cunninghamwebsolutions.com/archived/">Archived</a><br /><time class="text-secondary" datetime="2023-01-20T09:48:59+00:00">20th January 2023</time></div></article></div></div><div class="wf-cell wf-1-3"><div class="borders"><article class="post-format-standard"><a class="alignleft post-rollover" href="https://www.cunninghamwebsolutions.com/handling-continuous-integration-and-delivery-with-github-actions/" ><img class="preload-me" src="https://www.cunninghamwebsolutions.com/wp-content/uploads/2020/10/25788-thumb-60x60.png" width="60" height="60" alt="Thumbnail for 25788" /></a><div class="post-content"><a href="https://www.cunninghamwebsolutions.com/handling-continuous-integration-and-delivery-with-github-actions/">Handling Continuous Integration And Delivery With GitHub Actions</a><br /><time class="text-secondary" datetime="2020-10-19T17:30:11+01:00">19th October 2020</time></div></article></div></div><div class="wf-cell wf-1-3"><div class="borders"><article class="post-format-standard"><a class="alignleft post-rollover" href="https://www.cunninghamwebsolutions.com/a-monthly-update-with-new-guides-and-community-resources/" ><img class="preload-me" src="https://www.cunninghamwebsolutions.com/wp-content/uploads/2020/10/25778-thumb-60x60.png" width="60" height="60" alt="Thumbnail for 25778" /></a><div class="post-content"><a href="https://www.cunninghamwebsolutions.com/a-monthly-update-with-new-guides-and-community-resources/">A Monthly Update With New Guides And Community Resources</a><br /><time class="text-secondary" datetime="2020-10-19T12:30:06+01:00">19th October 2020</time></div></article></div></div><div class="wf-cell wf-1-3"><div class="borders"><article class="post-format-standard"><a class="alignleft post-rollover" href="https://www.cunninghamwebsolutions.com/supercharge-testing-react-applications-with-wallaby-js/" ><img class="preload-me" src="https://www.cunninghamwebsolutions.com/wp-content/uploads/2020/10/25781-thumb-60x60.png" width="60" height="60" alt="Thumbnail for 25781" /></a><div class="post-content"><a href="https://www.cunninghamwebsolutions.com/supercharge-testing-react-applications-with-wallaby-js/">Supercharge Testing React Applications With Wallaby.js</a><br /><time class="text-secondary" datetime="2020-10-19T12:30:06+01:00">19th October 2020</time></div></article></div></div></section><div class="gap-10"></div> </article><!-- #post-23872 --> </div><!-- #content .wf-cell --> <aside id="sidebar" class="sidebar"> <section id="presscore-blog-posts-2" class="widget widget_presscore-blog-posts"><div class="widget-title">Latest News</div><ul class="recent-posts"><li><article class="post-format-standard"><a href="https://www.cunninghamwebsolutions.com/archived-3/" class="alignleft post-rollover no-avatar" ></a><div class="post-content"><a href="https://www.cunninghamwebsolutions.com/archived-3/">Archived</a><br /><time class="text-secondary" datetime="2023-03-22T07:24:26+00:00">22nd March 2023</time></div></article></li><li><article class="post-format-standard"><a href="https://www.cunninghamwebsolutions.com/archived-2/" class="alignleft post-rollover no-avatar" ></a><div class="post-content"><a href="https://www.cunninghamwebsolutions.com/archived-2/">Archived</a><br /><time class="text-secondary" datetime="2023-03-18T10:34:42+00:00">18th March 2023</time></div></article></li><li><article class="post-format-standard"><a href="https://www.cunninghamwebsolutions.com/archived/" class="alignleft post-rollover no-avatar" ></a><div class="post-content"><a href="https://www.cunninghamwebsolutions.com/archived/">Archived</a><br /><time class="text-secondary" datetime="2023-01-20T09:48:59+00:00">20th January 2023</time></div></article></li><li><article class="post-format-standard"><a href="https://www.cunninghamwebsolutions.com/20201019-ml-brief/" class="alignleft post-rollover no-avatar" ></a><div class="post-content"><a href="https://www.cunninghamwebsolutions.com/20201019-ml-brief/">20201019 ML Brief</a><br /><time class="text-secondary" datetime="2020-10-19T17:30:11+01:00">19th October 2020</time></div></article></li><li><article class="post-format-standard"><a class="alignleft post-rollover" href="https://www.cunninghamwebsolutions.com/handling-continuous-integration-and-delivery-with-github-actions/" ><img class="preload-me" src="https://www.cunninghamwebsolutions.com/wp-content/uploads/2020/10/25788-thumb-60x60.png" width="60" height="60" alt="Thumbnail for 25788" /></a><div class="post-content"><a href="https://www.cunninghamwebsolutions.com/handling-continuous-integration-and-delivery-with-github-actions/">Handling Continuous Integration And Delivery With GitHub Actions</a><br /><time class="text-secondary" datetime="2020-10-19T17:30:11+01:00">19th October 2020</time></div></article></li><li><article class="post-format-standard"><a class="alignleft post-rollover" href="https://www.cunninghamwebsolutions.com/the-future-of-cx-with-larry-ellison/" ><img class="preload-me" src="https://www.cunninghamwebsolutions.com/wp-content/uploads/2020/10/25786-thumb-60x60.jpg" width="60" height="60" alt="Thumbnail for 25786" /></a><div class="post-content"><a href="https://www.cunninghamwebsolutions.com/the-future-of-cx-with-larry-ellison/">The Future of CX with Larry Ellison</a><br /><time class="text-secondary" datetime="2020-10-19T17:30:11+01:00">19th October 2020</time></div></article></li></ul></section><section id="categories-2" class="widget widget_categories"><div class="widget-title">News Categories</div> <ul> <li class="cat-item cat-item-37"><a href="https://www.cunninghamwebsolutions.com/category/digital-marketing/">Digital Marketing</a> </li> <li class="cat-item cat-item-36"><a href="https://www.cunninghamwebsolutions.com/category/web-design/">Web Design</a> </li> </ul> </section><section id="block-2" class="widget widget_block"><!-- 94fcdae89d02ea43f89b83a1a70d8c42 --></section> </aside><!-- #sidebar --> </div><!-- .wf-container --> </div><!-- .wf-wrap --> </div><!-- #main --> <div id="footer-container"> <div class="wf-wrap"> <div class="wf-container-main"> <div class="stripe stripe-style-2"> <div class="wf-container"> <div class="wf-usr-cell wf-2-3"> <h3>Our services</h3> <div class="gap" style="line-height: 10px; height: 10px;"></div> <div class="shortcode-tabs tab-style-three tab-horizontal"><div class="tab active-tab">Website Design</div><div class="tab-content active-tab-content"><div class="tab-inner-content"> <h5>Website Design</h5><p>A website is an important part of any business. Professional website development is an essential element of a successful online business.</p> <p>We provide website design services for every type of website imaginable. We supply brochure websites, E-commerce websites, bespoke website design, custom website development and a range of website applications. We love developing websites, come and talk to us about your project and we will tailor make a solution to match your requirements.</p> <p>You can contact us by phone, email or send us a request through our online form and we can give you a call back.</p> <p><a class="more-link details" href="https://www.cunninghamwebsolutions.com/web-design/">More Information</a></p> </div></div> <div class="tab">Digital Marketing</div><div class="tab-content"><div class="tab-inner-content"> <h5>Digital Marketing</h5><p>Our digital marketeers have years of experience in developing and excuting digital marketing strategies. We can help you promote your business online with the most effective methods to achieve the greatest return for your marketing budget. We offer a full service with includes the following:</p> <ol class="standard-number-list"> <li> <p>Social Media Marketing</p> </li> <li> <p>Email & Newsletter Advertising</p> </li> <li> <p>PPC - Pay Per Click</p> </li> <li> <p>A range of other methods are available</p> </li> </ol> <p><a class="more-link details" href="https://www.cunninghamwebsolutions.com/digital-marketing/">More Information</a></p> </div></div> <div class="tab">SEO</div><div class="tab-content"><div class="tab-inner-content"> <h5>SEO Services</h5><p>SEO is an essential part of owning an online property. The higher up the search engines that your website appears, the more visitors you will have and therefore the greater the potential for more business and increased profits.</p> <p>We offer a range of SEO services and packages. Our packages are very popular due to the expanse of on-page and off-page SEO services that they cover. Contact us to discuss your website and the SEO services that would best suit to increase your websites ranking.</p> <p><a class="more-link details" href="https://www.cunninghamwebsolutions.com/seo-services/">More Information</a></p> </div></div> <div class="tab">E-commerce</div><div class="tab-content"><div class="tab-inner-content"> <h5>E-commerce Websites</h5><p>E-commerce is a rapidly growing area with sales online increasing year on year. A professional E-commerce store online is essential to increase sales and is a reflection of your business to potential customers. We provide professional E-commerce websites custom built to meet our clients requirements.</p> <p>Starting to sell online can be a daunting task and we are here to make that journey as smooth as possible. When you work with Cunningham Web Solutions on your E-commerce website, you will benefit from the experience of our team and every detail from the website design to stock management is carefully planned and designed with you in mind.</p> <p><a class="more-link details" href="https://www.cunninghamwebsolutions.com/web-design/">More Information</a></p> </div></div> <div class="tab">Social Media Services</div><div class="tab-content"><div class="tab-inner-content"> <h5>Social Media Services</h5><p>Social Media is becoming an increasingly effective method of marketing online. The opportunities that social media marketing can offer are endless and when managed correctly can bring great benefits to every business.</p> <p>Social Media Marketing is a low cost form of advertising that continues to bring a very good ROI for our clients. In conjuction with excellent website development and SEO, social media marketing should be an essential part of every digital marketing strategy.</p> <p>We offer Social Media Management packages and we also offer Social Media Training to individuals and to companies. Contact us to find out more.</p> <p><a class="more-link details" href="https://www.cunninghamwebsolutions.com/social-media-services/">More Information</a></p> </div></div> </div></div> <div class="wf-usr-cell wf-1-3"> <!--<h3>Request A Call Back</h3>--> <div class="gap10"></div> </div> </div> </div> </div> </div> </div> <!-- !Bottom-bar --> <div id="bottom-bar" role="contentinfo"> <div class="wf-wrap"> <div class="wf-table wf-mobile-collapsed"> <div id="branding-bottom" class="wf-td"><img class="preload-me" src="https://www.cunninghamwebsolutions.com/wp-content/uploads/2015/12/logo-cunningham-web-design-footer.png" width="183" height="60" alt="Cunningham Web Solutions" /></div> <div class="wf-td"> <div class="wf-float-left"> © Copyright 2024 | <a href="http://www.cunninghamwebsolutions.com" target="_blank">Cunningham Web Solutions</a> </div> </div> <div class="wf-td"> <div class="mini-nav wf-float-right"><ul><li><a href="https://www.cunninghamwebsolutions.com/">Home</a></li><li><a href="https://www.cunninghamwebsolutions.com/our-services/">Our Services</a></li><li><a href="https://www.cunninghamwebsolutions.com/faqs/">FAQ's</a></li><li><a href="https://accounts.cunninghamwebsolutions.com">Account Services</a></li><li><a href="https://www.cunninghamwebsolutions.com/privacy-policy/">Privacy Policy</a></li><li><a href="https://www.cunninghamwebsolutions.com/contact/">Contact Us</a></li></ul></div> </div> </div> </div><!-- .wf-wrap --> </div><!-- #bottom-bar --> <a href="#" class="scroll-top"></a> </div><!-- #page --> <script type="text/javascript" src="https://www.cunninghamwebsolutions.com/wp-includes/js/dist/hooks.min.js?ver=4d63a3d491d11ffd8ac6" id="wp-hooks-js"></script> <script type="text/javascript" src="https://www.cunninghamwebsolutions.com/wp-includes/js/dist/i18n.min.js?ver=5e580eb46a90c2b997e6" id="wp-i18n-js"></script> <script type="text/javascript" id="wp-i18n-js-after"> /* <![CDATA[ */ wp.i18n.setLocaleData( { 'text direction\u0004ltr': [ 'ltr' ] } ); /* ]]> */ </script> <script type="text/javascript" src="https://www.cunninghamwebsolutions.com/wp-content/plugins/contact-form-7/includes/swv/js/index.js?ver=6.0" id="swv-js"></script> <script type="text/javascript" id="contact-form-7-js-before"> /* <![CDATA[ */ var wpcf7 = { "api": { "root": "https:\/\/www.cunninghamwebsolutions.com\/wp-json\/", "namespace": "contact-form-7\/v1" }, "cached": 1 }; /* ]]> */ </script> <script type="text/javascript" src="https://www.cunninghamwebsolutions.com/wp-content/plugins/contact-form-7/includes/js/index.js?ver=6.0" id="contact-form-7-js"></script> <script type="text/javascript" src="https://www.cunninghamwebsolutions.com/wp-content/themes/cws-web-design/royalslider/jquery.royalslider.js" id="dt-royalslider-js"></script> <script type="text/javascript" src="https://www.cunninghamwebsolutions.com/wp-content/themes/cws-web-design/js/plugins/pretty-photo/js/jquery.prettyPhoto.js" id="dt-prettyPhoto-js"></script> <script type="text/javascript" src="https://www.cunninghamwebsolutions.com/wp-content/themes/cws-web-design/js/plugins.js" id="dt-plugins-js"></script> <script type="text/javascript" id="dt-main-js-extra"> /* <![CDATA[ */ var dtLocal = {"passText":"To view this protected post, enter the password below:","ajaxurl":"https:\/\/www.cunninghamwebsolutions.com\/wp-admin\/admin-ajax.php","contactNonce":"d583111201"}; /* ]]> */ </script> <script type="text/javascript" src="https://www.cunninghamwebsolutions.com/wp-content/themes/cws-web-design/js/main.js?ver=1.0" id="dt-main-js"></script> <script type="text/javascript" src="https://www.cunninghamwebsolutions.com/wp-content/themes/cws-web-design/js/dt-dev-code.js?ver=1.0" id="dt-dev-code-js"></script> <script type="text/javascript" src="https://www.cunninghamwebsolutions.com/wp-includes/js/comment-reply.min.js?ver=6.7.1" id="comment-reply-js" async="async" data-wp-strategy="async"></script> <script type="text/javascript" src="https://www.google.com/recaptcha/api.js?render=6LcQwJcUAAAAAM6pP7LCWyPHclkq9llft0iQoHN6&ver=3.0" id="google-recaptcha-js"></script> <script type="text/javascript" src="https://www.cunninghamwebsolutions.com/wp-includes/js/dist/vendor/wp-polyfill.min.js?ver=3.15.0" id="wp-polyfill-js"></script> <script type="text/javascript" id="wpcf7-recaptcha-js-before"> /* <![CDATA[ */ var wpcf7_recaptcha = { "sitekey": "6LcQwJcUAAAAAM6pP7LCWyPHclkq9llft0iQoHN6", "actions": { "homepage": "homepage", "contactform": "contactform" } }; /* ]]> */ </script> <script type="text/javascript" src="https://www.cunninghamwebsolutions.com/wp-content/plugins/contact-form-7/modules/recaptcha/index.js?ver=6.0" id="wpcf7-recaptcha-js"></script> <script></script> <!-- Google Code for Remarketing Tag --> <!-------------------------------------------------- Remarketing tags may not be associated with personally identifiable information or placed on pages related to sensitive categories. See more information and instructions on how to setup the tag on: http://google.com/ads/remarketingsetup ---------------------------------------------------> <!--<script type="text/javascript"> var google_tag_params = { dynx_itemid: 'REPLACE_WITH_VALUE', dynx_itemid2: 'REPLACE_WITH_VALUE', dynx_pagetype: 'REPLACE_WITH_VALUE', dynx_totalvalue: 'REPLACE_WITH_VALUE', }; </script> <script type="text/javascript"> /* <![CDATA[ */ var google_conversion_id = 978834931; var google_custom_params = window.google_tag_params; var google_remarketing_only = true; /* ]]> */ </script> <script type="text/javascript" src="//www.googleadservices.com/pagead/conversion.js"> </script> <noscript> <div style="display:inline;"> <img height="1" width="1" style="border-style:none;" alt="" src="//googleads.g.doubleclick.net/pagead/viewthroughconversion/978834931/?value=0&guid=ON&script=0"/> </div> </noscript>--> </body> </html>