prerequisite: npx create-react-app
use: npx pure-react-app
Automatically removes unnecessary cra boilerplate content, and sets up a basic directory structure.
Inspiration for directory structure
Src/
- assets - global static assets such as images, svgs, company logo, etc.
- components - global shared/reusable components, such as layout (wrappers, navigation), form components,buttons
- services - JavaScript modules
- store - Global Redux store
- utils - Utilities, helpers, constants, and the like
- views - Can also be called "pages", the majority of the app would be contained here
Src:
App.cssreportWebVitals.jsApp.test.jslogo.svg
Public:
favicon.icologo192.pnglogo512.png