static server & api server