Create React App (CRA) Standards
Overview of the conventions, project structure, and tooling standards enforced by Create React App (CRA).
Project structure standard
my-app/
node_modules/
public/
index.html # Single HTML entry point
favicon.ico
manifest.json # PWA metadata
src/
App.css
App.js # Root component
App.test.js # Co-located test file
index.css
index.js # Application entry point
reportWebVitals.js
setupTests.js # Test framework configuration
package.json
README.mdBuild and tooling standards
Script standards
Script
Command
Purpose
Environment variable standard
Testing standard
Import resolution standards
CRA limitations and alternatives
Tool
Description
References
Last updated