something like this to connect api and app?