my-react-js-project
Recommended Toolchains
The React team primarily recommends these solutions:
If you’re learning React or creating a new single-page app, use Create React App.
+ Create ReactJs app
npx create-react-app my-reactjs-app
+ Run for develop
cd my-reactjs-app
npm start
+ Production build
npm run build
# install static server
# npm install -g serve
serve -s build
Dockerize Production React.js
docker-compose up
Access by
http://localhost:6969