Simple HTTP proxy server designed to solve AJAX CORS issues with some web services.
Made by the team at Weld (www.weld.io), the code-free app and web creation tool:
http://localhost:3014/REMOTE_HOST/PATH?QUERY
Example: instead of accessing:
http://query.yahooapis.com/v1/public/yql?q=select%20*%20from%20weather.forecast%20where%20woeid%20in%20(select%20woeid%20from%20geo.places(1)%20where%20text%3D%22stockholm%22)&format=json
you can use:
http://localhost:3014/query.yahooapis.com/v1/public/yql?q=select%20*%20from%20weather.forecast%20where%20woeid%20in%20(select%20woeid%20from%20geo.places(1)%20where%20text%3D%22stockholm%22)&format=json
Force HTTP request (otherwise same protocol as how you called http-proxy
)
&forceHTTP=true
We recommend setting up HTTPS on localhost, see http://blog.mgechev.com/2014/02/19/create-https-tls-ssl-application-with-express-nodejs/
Then, just start with:
grunt
Server will default to http://localhost:3014
Built on Node.js and Express.
# Set up and configure app
heroku create MYAPPNAME
heroku config:set NODE_ENV=production