I've been trying to do this for a while, but can't find anything 'official' for this. My goal is to have a React front-end with a RESTful-style backend, with user auth.<p>What do you recommend using? React + auth is my biggest issue
In terms of front-end, definitely go Redux. If I can toot my own horn, I suggest React/Redux/Radical (<a href="http://www.nathan-rice.net/projects/radical/" rel="nofollow">http://www.nathan-rice.net/projects/radical/</a> ); it greatly simplifies working with Redux. I also suggest Typescript, you're already going to be on the hook with Webpack, you might as well take the small extra step and get a much better development experience.<p>As for a back-end, Postgrest is absolutely amazing. There are examples of how to implement auth with Postgrest on the official site. If you implement your application logic as stored procedures in the database, you don't need Flask/Django/etc at all.
If you are going with React I suggest you go all in, i.e. React + Relay + GraphQL.
In FB words "While each of these technologies — React, Relay, and GraphQL — are powerful on their own, the combination is a UI platform that allows us to move fast and ship high-quality apps at scale"<p>The tricky part is the GraphQL/backend server.
You can roll your sleeves and do it yourself starting form this <a href="https://github.com/graphql/graphql-js" rel="nofollow">https://github.com/graphql/graphql-js</a>
Might also try <a href="https://github.com/calebmer/postgraphql" rel="nofollow">https://github.com/calebmer/postgraphql</a> (PostgREST inspired, open source but no auth and has N+1 problem)<p>I am also working on a tool/platform that you might be interested for the backend (in beta).
It is based on OpenResty/PostgREST/PostgreSQL and it will give you a REST and GraphQL (Relay compatible) backend with very little work.
<a href="http://graphqlapi.com/" rel="nofollow">http://graphqlapi.com/</a>
<a href="https://github.com/ruslantalpa/sub0_sample_app" rel="nofollow">https://github.com/ruslantalpa/sub0_sample_app</a>
Well fullstack Javascript is pretty common, you can use express or Koa, and passport works well for auth. Really you could use any backend and be just fine, whether it's Python, Ruby, Go, Elixir, etc. Burger (BGR) stack is popping up lately too <a href="http://go-talks.appspot.com/github.com/gophercon/2016-talks/BenJohnson-TheBurgerStack/main.slide#1" rel="nofollow">http://go-talks.appspot.com/github.com/gophercon/2016-talks/...</a>. Additionally things like Redux and Relay make it very nice to communicate between React and your backend. Otherwise, just speaking ajax to the backend works.
I use container components at the appropriate levels in the hierarchy in a similar way to Flux stores, managing their state using React's own state management, exposing the state via context (to avoid excessive property passing). I implement actions as functions in the container components which I also expose via context. So far, I've found it to be simple and effective. I use page.js for routing and superagent for web service calls.
I used this starter kit (v2.0.0-alpha3):
<a href="https://github.com/davezuko/react-redux-starter-kit" rel="nofollow">https://github.com/davezuko/react-redux-starter-kit</a><p>I paired it with a Rails API backend.<p>Auth handled by Auth0 and use JWT to communicate between back and front (soon to be fronts as I will be adding in an app).
Read this article for your answer <a href="https://blog.designveloper.comhttps://blog.designveloper.com/2016/06/21/react-structure-container-component-in-meteor/" rel="nofollow">https://blog.designveloper.comhttps://blog.designveloper.com...</a>
Anyone here used MobX (<a href="https://github.com/mobxjs/mobx" rel="nofollow">https://github.com/mobxjs/mobx</a>) ? Would like to know about pros and cons compared to redux .<p>I haven't used any of those but would like to know about them before I start using any of those.
Just going to put this here,
<a href="https://medium.com/javascript-scene/passwordless-authentication-with-react-and-auth0-c4cb003c7cde#.o92147ko1" rel="nofollow">https://medium.com/javascript-scene/passwordless-authenticat...</a>
I found here the best combination. I am not using redux.<p><a href="https://github.com/coryhouse/react-slingshot" rel="nofollow">https://github.com/coryhouse/react-slingshot</a>