cabcookie / get-fit-ios

0 stars 0 forks source link

Migrate the API into a Lambda resolver #3

Open cabcookie opened 3 years ago

cabcookie commented 3 years ago

The Lambda resolver should handle the schema migration and the clean up and provide the data always in the same manner independent from how it is stored in DynamoDB. The API should stay stable. Otherwise it is very hard to keep the web app and the mobile app in sync in terms of the Amplify backend and the npm packages. This article describes nicely how to involve a Lambda resolver in my model.