set up the API before running the server