There are two common practices for React project file structure.
- Grouping by features or routes:
One common way to structure projects is locate CSS, JS, and tests together, grouped by feature or route.
```common/โโ Avatar.jsโโ Avatar.cssโโ APIUtils.jsโโ APIUtils.test.jsfeed/โโ index.jsโโ Feed.jsโโ Feed.cssโโ FeedStory.jsโโ FeedStory.test.jsโโ FeedAPI.jsprofile/โโ index.jsโโ Profile.jsโโ ProfileHeader.jsโโ ProfileHeader.cssโโ ProfileAPI.js```
2. Grouping by file type:
Another popular way to structure projects is to group similar files together.```api/โโ APIUtils.jsโโ APIUtils.test.jsโโ ProfileAPI.jsโโ UserAPI.jscomponents/โโ Avatar.jsโโ Avatar.cssโโ Feed.jsโโ Feed.cssโโ FeedStory.jsโโ FeedStory.test.jsโโ Profile.jsโโ ProfileHeader.jsโโ ProfileHeader.css```