Now that I have a documentation index, I could write a server, that serves that index and searches it. That server will ultimately also deliver my frontend application, because I’m too lazy to do it the microservices way right now.
The most easy and stable web server for Node I know today is ExpressJS and that’s what I used.
I’m mostly doing my projects in Typescript today, so that was my basic setup.
After the index has been created or read from my pre-rendered index, the server starts up, registers its endpoints and listens for requests.