Check this out for backend:
https://postgis.net/docs/ST_AsMVT.html
if you can run ogr2ogr to import your data into PostGIS, and serve the binary data returned by a query, you're all set. You literally only need PostGIS for a dynamic vector tile service.
Then mapboxgl or libremapjs on the frontend, or even OpenLayers.
I currently use a .mbtiles file and plug it into tileserver-gl, but i guess in theory you could just import OSM to PostGIS and then add the PostGIS as a source in tileserver-gl? That would be amazing
Then mapboxgl or libremapjs on the frontend, or even OpenLayers.