coopdevs / katuma-web

ABANDONED - Old Katuma's web interface
http://www.katuma.org
MIT License
7 stars 1 forks source link

Getting ready for production #2

Closed enricostano closed 8 years ago

enricostano commented 8 years ago

WAT

In production Nginx will proxy TCP port 80 to 127.0.0.1:8080 (Express) and the Rails API will be in UNIX socket.

GIF

andresgutgon commented 8 years ago

:+1:

enricostano commented 8 years ago

@andresgutgon can you please confirm that the ApiClient library is used only in the browser to make XHR requests and we don't use it directly from Express.js?

EDIT: Related https://www.quora.com/Does-Node-js-utilize-XMLHttpRequest

sauloperez commented 8 years ago

:+1:

enricostano commented 8 years ago

@andresgutgon can you please help me rebase this? So we can move forward and merge it.

andresgutgon commented 8 years ago

:muscle: