NextJS with Prepr Headless CMS integration
An open source showcase of how these technologies integrate. Opinionated, and sprinkled with a bit of TailwindCSS to ensure the sample looks nice too.
I’ve created this as an example, something that I’m happy to show others if they wonder how we’d use them in a production scenario. In general, such an example should be exemplary:
- be built with production-worthy code
- be simple enough while still being realistic
- supplement the official documentation
This style of example is something I often create, and you can see a whole range of exemplary examples on GitHub for a whole range of technologies.
Note that usually these samples are not updated through time. It’s advised to check the last commit dates to see how up to date the sample is, and adjust your usage accordingly.
About the demo content
To be able to showcase some of Prepr's features we have some demo content on this site's Prepr environmnent:
- Home where the basics of this sample are explained.
- Authors with their short biographies, photos, and so forth. All initially generated by LLM's.
- Articles which include Poems and Short Stories initially generated by LLM's
- Menu items which link to either internal pages (most of the time) or external websites.
- Search page with a simple full-text based search.
- About Prepr page to showcase how content was modeled and authored in Prepr.
- Footer (so a sort of secondary menu) with various links.
If you'd like more details of the environment, or an export of the schema: let us know!