Skip to content

ozolinaa/react_ssr

Repository files navigation

What is "react_ssr"

This package is created "from sratch" using this article

It supports react server side rendering was following these articles:

It is containerized using Docker:

  • docker build . -t 'xtonyx/react_ssr'
  • docker run -d -p 3000:3000 --name react_ssr xtonyx/react_ssr

NPM scripts description:

  • npm run build:ui builds static UI files (into ./dist/ directory)
  • npm run build:server builds JS files for Node web server (into ./server/dist/ directory) (that renders react application from ./dist/index.html file)
  • npm run server starts Node web server (that is built by npm run build:server)
  • npm run start:ui starts webpack web server for UI development and troubleshooting only
  • npm run storybook starts storybook.js for better react component development experience
  • npm run docker:run_clean cleans existing local docker image and container, builds local docker image, runs local docker container

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published