ReactJS Server Side Rendering template (shopping website) with ExpressJS and ViteJS.
- Node.js Streams
 - Data fetching from Rest API
 - Sitemap add-on
 - SEO friendly
 
Installation
git clone https://github.com/ramoures/express-react-ssr.gitcd express-react-ssrnpm installnpm run build- 
npm startornode server.mjs - Browse 
http://localhost:5173/shop/ 
Update the
.envfile to edit/remove the shop directory from the URL.
Develop
- Tailwind CLI build and minify process: 
npm run tw npm run dev
Browse http://localhost:4173/shop/
Always ready fresh template in development.
Build
After development completion:
- 
npm run buildfor build new dist directory. - 
npm startornode server.mjs - Browse 
http://localhost:5173/shop/ 
I Used
- Node.js Stream
 - Axios
 - React Router Dom
 - React Helmet
 - Tailwind CSS framework
 - XML Sitemap
 - ...
 
Data source: fakestoreapi.com
License Under The MIT License
Email: ramoures@gmail.com
              

    
Top comments (1)
Thank you mate, I like your hybrid approach of SSR and CSR