amazon-archives / awsmobile-cli

CLI experience for Frontend developers in the JavaScript ecosystem.
Apache License 2.0
142 stars 35 forks source link

Run backend locally? #134

Open thelinuxkid opened 6 years ago

thelinuxkid commented 6 years ago

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?

UnleashedMind commented 6 years ago

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.

thelinuxkid commented 6 years ago

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

UnleashedMind commented 6 years ago

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

jimbol commented 6 years ago

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.

btmadison commented 6 years ago

especially when every awsmobile push takes minimally 5 minutes

jarrettj commented 6 years ago

+1 Have you tried using SAM with the lambda?