Open d-g-h opened 9 years ago
Just to confirm, the way this is going to be set up, both the frontend html, css, and javascript will be served out of the same domain as the backend api? That way we don't need to do CORS to do cross domain stuff right?
I'm thinking something like:
Frontend
coasst.com/index.html
coasst.com/app.js
coasst.com/style.css
Backend
coasst.com/api/users
coasst.com/api/birds
Does that sound about right?
Yes. Or , would do another reverse proxy to avoid the CORS.
/api is a proxy (node localhost:8000)
NGINX will serve everything else.
We should be fine. I will get the vagrant box up soon.
awesome, thanks @d-g-h !
Hey @d-g-h just wanted a status update on this. I'm at the point where I want the frontend and backend to start talking to each other. In the meantime, there's definitely other stuff for me to work on, but it'd be nice to get them talking.
Thanks!
Sorry for the delay. I plan to get something up in the next day or two.
This is killing me. Let's go without build process for now. I will update
https://github.com/RadishLab/COA001/blob/master/src/contexts/authenticating.js#L2