Create and run new React app using create-react-app:
npx create-react-app react-app
cd react-app
npm start
Create and run new React app using Vite:
npm create vite@latest react-app -- --template react-ts
cd react-app
npm install
npm run dev
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
Firebase
npm install -g firebase-tools
firebase login
firebase init
firebase deploy