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