We should use ENV insted string to split local/production/live base api url. So that in the future when things go live, someone dosnt mess up with live db insted of dummy dev db. Or as it has happend now, that in the commit is localhost:3000 insted of proper url http://chutter-api.elasticbeanstalk.com/.
We should use ENV insted string to split local/production/live base api url. So that in the future when things go live, someone dosnt mess up with live db insted of dummy dev db. Or as it has happend now, that in the commit is
localhost:3000
insted of proper urlhttp://chutter-api.elasticbeanstalk.com/.
https://github.com/chutterbox/chutter/blob/master/_app/js/chutter.coffee#L21
Quick googleing got me this