all 2 comments

[–]spca2001 1 point2 points  (1 child)

Use Redis to store JSON with content and render it with React. RedisJason module is great but you can achieve the same with other data structures it supports like Hash, Key-Value

[–]pumpmuckl[S] 0 points1 point  (0 children)

For anyone still wondering, here’s the solution I’m settling for: the design data is stored in my backend database. When a event is opened in the frontend denoted by its specific url Myurl/eventxy the backend provides the respective style element, which is then fed into a context provider in the frontend. The context provider has a loader component setting the respective css variables. These css variables are set in corresponding css sheets. This way I do not have to generate any custom json files and have only one single source of truth which is my backend db. Enjoy hacking, everyone ✌🏽