This React Server Side Rendering Setup with React router
First, run the development server:
npm run dev : To run React Application in SSR mode.
npm run build : To build React SSR Application in Production mode.
npm run start : To Start Production Application.
npm run dev:client : To Start a React CSR app with Hot Module Replacement(HMR).
# or
yarn dev