generic backend for web and mobile apps