I come back with the question: how can I use three js with values from a db.
I asked this question a few weeks ago. At that time, I was advised to work with a loader.
I created obj and mtl files with the data from the database and load them with OBJ and MTL Loader.
In this way I can create the desired shapes, but not a text.
Where can I find an example that shows how three js is implemented in a template engine?
I use node js with express and pug.
Have you considered solving your data fetching in a different domain? Three.js is probably the right tool for the right problem. It doesn’t do anything regarding wire transfers and is not at all related to databases. But it’s good for displaying stuff on a screen.