A bit wide question, but with all those trends in JS world, sometimes it is hard to find information about such simple things. What is the better way to organize files and folders in such kind of project? There is server examples in few language from Facebook, but it is for very basic project.
Also find out React Examples on git
But those examples are just for playing around.
The goal is - to have clearly separate Client and Server component. Move them in separate trees of folders. Also have app-like structure (like for example Django does)
So main question is:
what is correct way to separate nodejs/iojs serveer side from React client side component and put it all together in one project?
Project:
- nodejs server, for site where users can create their own articles separated in hubs/topics.
- React on front end.SPA.
- load - about 10 000 users.
- MongoDb database with access through Mongoose