فارسی | English
React Server Side Rendering template (shopping website) with Express and Vite.
- Data fetching from Rest API
- Sitemap add-on
- SEO friendly
git clone https://github.com/ramoures/express-react-ssr.git
cd express-react-ssr
npm install
npm run build
npm start
ornode server.mjs
- Browse
http://localhost:5173/shop/
Update the
.env
file to edit/remove the shop directory from the URL.
-
Tailwind CLI build and minify process:
npm run tw
-
npm run dev
Browse
http://localhost:4173/shop/
Always ready fresh template in development.
After development completion:
npm run build
for build new dist directory.npm start
ornode server.mjs
- Browse
http://localhost:5173/shop/
Data source: fakestoreapi.com
With the help of template-ssr-react-streaming
License Under The MIT License
Email: ramoures@gmail.com