Change config import strategy to config.from_pyfile()
Register the blueprint and the api separately