Gatsby Frontend Website Development

Our company is engaged in the development, support and maintenance of sites of any complexity. From simple one-page sites to large-scale cluster systems built on micro services. Experience of developers is confirmed by certificates from vendors.
Development and maintenance of all types of websites:
Informational websites or web applications
Business card websites, landing pages, corporate websites, online catalogs, quizzes, promo websites, blogs, news resources, informational portals, forums, aggregators
E-commerce websites or web applications
Online stores, B2B portals, marketplaces, online exchanges, cashback websites, exchanges, dropshipping platforms, product parsers
Business process management web applications
CRM systems, ERP systems, corporate portals, production management systems, information parsers
Electronic service websites or web applications
Classified ads platforms, online schools, online cinemas, website builders, portals for electronic services, video hosting platforms, thematic portals

These are just some of the technical types of websites we work with, and each of them can have its own specific features and functionality, as well as be customized to meet the specific needs and goals of the client.

Our competencies:
Development stages
Latest works
  • image_web-applications_feedme_466_0.webp
    Development of a web application for FEEDME
    1161
  • image_ecommerce_furnoro_435_0.webp
    Development of an online store for the company FURNORO
    1041
  • image_crm_enviok_479_0.webp
    Development of a web application for Enviok
    822
  • image_crm_chasseurs_493_0.webp
    CRM development for Chasseurs
    847
  • image_website-sbh_0.png
    Website development for SBH Partners
    999
  • image_website-_0.png
    Website development for Red Pear
    451

Gatsby Frontend Website Development

Gatsby is a React framework for static site generation with GraphQL data layer. Specializes in content sites: blogs, documentation, corporate sites. Key feature — unified GraphQL API for getting data from any sources (files, CMS, databases, APIs).

GraphQL Data Layer

Gatsby collects data from all sources into a unified GraphQL layer:

// gatsby-config.js
module.exports = {
  plugins: [
    {
      resolve: 'gatsby-source-filesystem',
      options: { path: './content/blog', name: 'blog' },
    },
    'gatsby-transformer-remark', // Markdown → HTML + frontmatter
    {
      resolve: 'gatsby-source-contentful',
      options: { spaceId: '...', accessToken: '...' },
    },
  ],
};

All data available via GraphQL:

# In Gatsby IDE (localhost:8000/___graphql)
query BlogPosts {
  allMarkdownRemark(sort: { frontmatter: { date: DESC } }) {
    nodes {
      frontmatter { title, date, slug }
      excerpt(pruneLength: 150)
    }
  }
}

Programmatic page creation

// gatsby-node.js
exports.createPages = async ({ graphql, actions }) => {
  const { createPage } = actions;

  const result = await graphql(`
    query { allMarkdownRemark { nodes { frontmatter { slug } } } }
  `);

  result.data.allMarkdownRemark.nodes.forEach(node => {
    createPage({
      path: `/blog/${node.frontmatter.slug}`,
      component: path.resolve('./src/templates/BlogPost.tsx'),
      context: { slug: node.frontmatter.slug },
    });
  });
};

Page Query and Static Query

// Page component — PageQuery
import { graphql, type HeadFC } from 'gatsby';

export default function BlogPost({ data }) {
  const { markdownRemark } = data;
  return (
    <article dangerouslySetInnerHTML={{ __html: markdownRemark.html }} />
  );
}

export const query = graphql`
  query BlogPost($slug: String!) {
    markdownRemark(frontmatter: { slug: { eq: $slug } }) {
      html
      frontmatter { title, date }
    }
  }
`;

export const Head: HeadFC = ({ data }) => (
  <title>{data.markdownRemark.frontmatter.title}</title>
);

Gatsby Image

Automatic image optimization:

import { GatsbyImage, getImage, StaticImage } from 'gatsby-plugin-image';

// Dynamic image (from GraphQL)
function BlogCard({ post }) {
  const image = getImage(post.frontmatter.thumbnail);
  return <GatsbyImage image={image} alt={post.frontmatter.title} />;
}

// Static (optimized at build time)
<StaticImage src="../images/hero.jpg" alt="Hero" width={1200} height={630} />

Plugin ecosystem

  • gatsby-source-contentful/strapi/wordpress/shopify — data sources
  • gatsby-plugin-mdx — MDX (Markdown + React components)
  • gatsby-plugin-sitemap — auto-generate Sitemap
  • gatsby-plugin-robots-txt — robots.txt
  • gatsby-plugin-offline — Service Worker for PWA

Gatsby vs Astro in 2024

Gatsby lost positions to Astro and Next.js for static sites. Gatsby justified if:

  • Project already on Gatsby (migration = expenses)
  • Need powerful GraphQL data layer for aggregating many sources
  • Team knows Gatsby

For new content site project — Astro (less JS) or Next.js (bigger ecosystem).

Deployment

gatsby build generates static site. Deploy to Netlify, Vercel, GitHub Pages, any CDN. Gatsby Cloud (Netlify after acquisition) — optimized incremental builds.

Timeline

Content site on Gatsby (Markdown blog, 10–30 pages): 1–2 weeks. With complex data layer (several CMS sources), custom GraphQL schemas: 2–4 weeks.