serve assets under /* and api calls under /api*, build plugin for fat jars