setup project react js code example Example: how to start react project npm i npx npx create-react-app my-app cd my-app npm start