Below Todd Geist shows a simple LiveCode HTTP Server modified to add a Router and Middleware. The architecture borrows from simple light servers like Ruby Sinatra or Node Express.
YOUTUBE cfHLgHCsZTc A LiveCode HTTP server by Todd Geist
The aim of this project is to create a LiveCode Server that interoperates efficiently with NodeJS.