React as front-end
folivi opened this issue · comments
Hi,
loving the framework so far, great work!
I have question/request:
what's the best way to use React for the front-end?
Can you provide a sample project?
Cheers
Can't provide a sample project yet, but we'll definitely get to this soon. Easiest way to interface with a Nodal API server from a JavaScript front-end is using the APIConnect library: https://github.com/keithwhor/APIConnect
More on this stuff soon. Expect a lot of content by end of summer.
Hi,
first of all its a very interesting framework and cloud offering. kudo for this.
to followup on this question..
i am trying to understand what is the best way to connect a single page application to the nodal API server. as far as i understand the nodal + polybit will cover a stateless http api server, and for the frontend application i should use my own stack and build tools (react, angular, webpack, etc..) and serve it from a separate server on (surge, heroku, amazon, etc...).
please correct me if i am wrong and if this is the scenario in order to avoid CORS issue, i should modify the CORSMiddleware according to my frontend server domain ?