I've been trying to figure out how to build a "static" website that displays data pulled from a database. I know SQL fairly well, but have no experience in web dev. I would think website builders would have basic functionality for this, but maybe it's a much harder problem than I'm thinking.
I would also think this could be done on the server side, so the user should never interact directly with the database. Is web development usually difficult to find answers for? I work in networking so rarely interactive with web dev.
Thank you.
Pelican and Hugo are the two generators I'm comfortable. Both have a plugin ecosystem - my guess is that something close already exists.
Otherwise, Pelican source code is simple to understand and extend. If I were to implement this and if the data was static or changed only occasionally, I'd read my custom data source, add that data to the Jinja template variables and access them from Jinja HTML templates. For fast changing data, I agree with the export to JSON and render from Javascript approach already suggested.