Serving static site using node server and Auth0

I’m looking for a simple way to serve a directory of static files behind Auth0 Authentication. This has been asked before, but the only current documentation assumes that one is using Gatsby to generate the site.

I think the simplest solution is something like an express.js app using express.static() pointed at the directory of files with some Auth0 intermediary but I’m not a JS developer at all and could use some pointers as to finding an example to adapt. A super helpful template Auth0 could provide would be a repo, where one just needs to drop files into a directory, set Auth0 application and host information in a .env file, and run npm install and npm start.