I am still discovering awsmobile and still have to read a lot of doc but what I don't really understand is why awsmobile init
generates a awsmobilejs/backend
in my React project because:
1) I think FE and BE should NOT be in the same repo.
2) I'll probably be creating mobile apps later, also in separate repos. How will it work then? According to doc I have to run awsmobile init <project_id>
again which will download the awsmobilejs/backend
folder there too (duplicate)
It makes sense for me to separate FE and BE, especially if you have several front ends (WEB, and mobile apps). Aws mobile hub even lets you create several "apps" in the console (android, iOS, web and react-native). How do I separate everything? and "connect" them later?
Bonus question: How does awsmobile (cloud-api) differ from aws SAM They seem to achieve similar things for the Backend
Thank you