ssr-hot-reloading
v1.0.1
Published
Boilerplate for server side rendered app with react and hot module replacement enabled powered by webpack
Downloads
2
Readme
Boilerplate for custom Server side rendered react app with EJS and express with Hot module replacement
Technology stack
Server side
- Express
- EJS
- Webpack
Client side
- React
Steps to run
- Clone the repo
- npm install
- npm start
- open http://localhost:4000/ to see your app
Structure
ssr-hot-reloading (your root)
├── readme.md
├── node_modules
├── package.json
├── webpack.config.js
├── LICENSE
├── .gitignore
├── client (all client side code goes here)
│ ├── index.js (client entry point)
│ └── components (all UI components)
│ ├── card.scss
│ └── Cards.js
├── server (all client side code goes here)
│ └── index.js (server side entry point. Express server runs here.)
├── views (server side rendered views go here. Here you will include the bundle or other dependencies)
└── index.ejs
In Action
¸