React CLI

Create and run new React app:

npx create-react-app react-app
cd react-app
npm start

Starts the development server

npm start

Bundles the app into static files for production

npm run build

Starts the test runner

npm test

Serve build folder with a static server

npm install -g serve
serve -s build


npm install -g firebase-tools
firebase login
firebase init
firebase deploy

Leave a Reply

Your email address will not be published. Required fields are marked *