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