awsmobile-cli icon indicating copy to clipboard operation
awsmobile-cli copied to clipboard

Run backend locally?

Open thelinuxkid opened this issue 7 years ago • 6 comments

I haven't found a way to test the backend locally. The way I get around it is to test the backend code in the frontend, move it to the backend when it's tested then do an awsmobile push. Is there a better way?

thelinuxkid avatar May 23 '18 21:05 thelinuxkid

Unfortunately, we don't currently have local simulation of the backend cloud. One work around would be to have two aws environments, one for your dev and test, and the other for production.

UnleashedMind avatar May 23 '18 23:05 UnleashedMind

I don't understand how this helps me not have to push the backend when I make a simple change I want to test.

thelinuxkid avatar May 24 '18 18:05 thelinuxkid

It does not. I was just pointing out a way to test before pushing to Prod.

UnleashedMind avatar May 25 '18 17:05 UnleashedMind

This is a very important feature for me. Development is a real pain when I have to push every single change I make. Especially when debugging.

jimbol avatar Aug 13 '18 14:08 jimbol

especially when every awsmobile push takes minimally 5 minutes

btmadison avatar Aug 14 '18 00:08 btmadison

+1 Have you tried using SAM with the lambda?

jarrettj avatar Aug 24 '18 10:08 jarrettj