Tag: hygraph
-
Limit API Calls in nextJS to Hygraph
0 I’m building nextJS webApp that accesses hygraph for data management via API calls(GraphQL). Hygraph limits the free plan to 1M API calls per project per month. Each page on the webapp requests data independently through API with useeffect. For example: const Team = () => { let router = useRouter(); const [profile, setProfile] =…
-
GraphQL Error (Code: 429) – Next Js project
0 For anyone working on a nextjs project, who’s struggling with GraphQL Error (Code: 429), here’s a quick fix. The back story…: I built a headless CMS using Hygraph and NextJS 13 for a blog project. I also used the npm graphql-request package. I originally wanted to have it run on a server, but ended…
-
Why Richtext content is not searchable in hygraph/graphcms?
0 Im try to search content from the query user requested but hygraph not showing the result it only show data if title contains it… export async function getServerSideProps(context) { const { query } = context; const { posts } = await hygraph.request( ` query BlogPostPage($search: String! ){ posts(where:{_search: $search}){ createdAt id slug titile coverPhoto…