A file structure for developing a Node and React app.
The Client Folder contains a basic create-react-app starter file.
The Server Folder contains a basic MVC folder structure for creating an api using Node and Express.
npm install - Installs all packages specified in the package.json file for both the client and server.
npm run start - checks if the environment variable 'NODE_ENV' is set to production, and runs either the development version or the production version of the project accordingly.
npm run start:dev - Runs the development version of the project.
npm run start:prod - Runs the production version of the project.
npm run build - Runs build in the client folder.
npm run client - Runs the client side code.
npm run server - Runs the server side code.