app with rest api