10% coupon added to cart!

React Bricks

Product details

Q: I've been watching your tutorials and trying to figure out how the content created in your CMS (once the ...

content editors have completed doing that) can be consumed by a frontend developer to build a NextJS site. Do you have any documentation on this? Your starter tutorials do not cover this part at the moment. Is there a REST API that a frontend developer can use your CMS to pull content onto the frontend (aka data fetching). For instance, in Strapi, you've created a schema and then add content in a "Collection". Then a frontend developer would use the Strapi APIs to fetch the data and render onto the frontend. How would you do this with React Bricks CMS?

sumoling_PLUSJul 16, 2022
Founder Team
Matteo_ReactBricks

Matteo_ReactBricks

May 14, 2024

A: Hi!
with React Bricks you have helper functions to call our APIs, so that you don't have to call them yourselves. In particular, you find in the documentation the `fetchPages` and `fetchPage` methods.
I suggest that you try React Bricks and scaffold a Next.js project using the CLI:
npx create-reactbricks-app@latest
So that you see the structure of the starter project and how it works.

Thank you!
Matteo

Share
Helpful?
Log in to join the conversation
Related questions
View product details