- Clone the code
- npm install
- You are good to go with React Application. Open http://localhost:3000/ and you can see your changes
- babel
- webpack,
- loadable components - for code splitting
- styled components - for styling
- react router config
src client index.tsx - contains coniguration for client starting point server index.tsx - configuration for server starting point renderer.tsx - set up for the code splitting at the server side html html.ts - main html file that serves the root of the project
You just need to run "npm run build:prod" It will create a dist folder and a server.js file will be created that will be used to deploy on the server. You can test it out by writing node dist/server.js