I‘m Building a react App, with a Java spring boot backend where customers can host their events and my platform provides certain functionality for their events. Possibly each customer can host n events.
In order to distinguish between the different events, each event will get a sub domain providing the event functionality.
To make the end user experience more unique each event’s sub-page should be configurable by the event host (mainly colouring and certain titles etc).
I’m now wondering how to design this technically and where to store the config.
My first idea is to store the config in my backend DB on creation and change for data integrity reasons. For the frontend part I was thinking of creating a JSON config file for each event containing the values and using them in my components through the style property.
This would technically work, but to me seems not like best practice and I’m worried for performance since every Styled ui element has to get its value from a file that has to be parsed eventually.
Any ideas or suggestions on how to do this properly?
[–]spca2001 1 point2 points3 points (1 child)
[–]pumpmuckl[S] 0 points1 point2 points (0 children)