Circularspace

Tag: webdev

Cross site REST development

Often when developing complex client side apps, a simple python -m SimpleHTTPServer can host the html. For a node backend though, a second server has to be run to host the REST api, which must be on a different domain. For example the python server is on port 8000, whereas the REST server is run on port 3000.