static server w/ middleware