set up react project from scratch code example Example: creating react app using npx npx create-react-app my-app cd my-app yarn start