setup the whole stack for hosting basic-api