I'm new to the very concept of serverless. I'm trying to determine if I can make it work for me.
Currently I have mobile apps (Android, iOS) that share a backend (express app hosted on Heroku).
I'd like to use Cognito for authentication, S3 for images, and DynamoDB. I checked out the mobile and the solutions offered there involve using the various SDK's within each app.
What I'd like to do is set up an API Gateway with endpoints for
loginCustom, etc., and Lambda functions for anything else I need. This way I'm not duplicating the logic on each mobile client.
Can it work this way or do I have to use the mobile sdk's?