MS
mstrluke/react-ssr
Clear and Convenient server side rendering react template
React Isomorphic (SSR, CSR)
This template is made for developers who are tired of finding a good quick start template.
The template is flexible to upgrade.
Use it as you want.
Supported features
- Server Side Rendering
- Client Side Rendering
- Isomorphic Rendering
- Hot Module Replacement
- Webpack Dev Server
- Code splitting
- Components Lazy Loading
- Docker wrapper
- CSS and SCSS Support
Todo features
- React Context API
- API config
Installation
Clone and install the dependencies
$ git clone https://github.com/mstrluke/react-ssr.git
$ cd react-ssr
$ yarn installHow to run via npm or yarn
Before start your are should copy envs from .env.dev to .env
Build source
$ yarn build or npm run buildStart development
$ yarn dev or npm run devStart production
$ yarn prod or npm run prodHow to run via docker
$ docker build -f docker/Dockerfile -t react-ssr .
$ docker run -p 3000:3000 react-ssrOn this page
Languages
JavaScript91.4%HTML5.5%Dockerfile2.2%SCSS0.6%CSS0.3%
Contributors
MIT License
Created January 12, 2021
Updated December 21, 2022