how to set up a basic react project code example Example: how to start react project npm i npx npx create-react-app my-app cd my-app npm start