samvera / samvera.org

Static built NextJS web app for samvera.org
https://samvera.org
1 stars 1 forks source link

Architecture ideas for Samvera websites #131

Open adamjarling opened 6 months ago

adamjarling commented 6 months ago

One idea is to move towards a common solution for how Hyrax, Hyku, and Avalon websites are built. Currently there are three different solutions for the mentioned sites (Jekyl, WordPress, etc).

adamjarling commented 2 months ago

@heathergreerklein

Samvera_Family_Website_Architecture_Idea_#1
adamjarling commented 2 months ago

Diagram summary

This approach to combining Samvera organization sites puts a headless CMS (Contentful) at the core of providing data for different websites (samvera.org, Hyku, Hyrax, Avalon). There would be credentials for maintainers of the sites set up in Contentful, and each application's data would be updatable via Contentful, and pass through to the respective website.

A shared generic template would be set up for each site. If we run with the current model for Samvera.org, this could be a NextJS site, which creates a static site which is hosted directly within it's Github repository via Github Pages.

The following, separate Samvera repositories would exist:

Some data would be shared across templates (maybe News Items, Navigation, etc). And some data would be unique to each website. The idea is it model this information structure within Contentful, and then represent it in the UI for each website.

Work to do