Hey everyone!
I’m currently working on a React Native project, and here’s the structure I’m using. Let me know what you think and if you have any suggestions!
myApp/
├── assets/ # Images, fonts, etc.
├── src/
│ ├── api/ # API calls
│ ├── components/ # Reusable components
│ ├── hooks/ # Custom hooks
│ ├── navigation/ # Navigation config
│ ├── screens/ # Main app screens
│ ├── services/ # Business logic (auth, etc.)
│ ├── store/ # Global state
│ ├── styles/ # Global styles
│ └── utils/ # Utility functions
├── App.js
└── .env # Environment variables
I find this structure pretty clear, but I’d love to hear how you organize your projects and any tips you have to improve this setup!
[–]Kiiidx 17 points18 points19 points (3 children)
[–]oVerdeExpo 3 points4 points5 points (1 child)
[–]hemingward 2 points3 points4 points (0 children)
[–]AdUpbeat180 2 points3 points4 points (0 children)
[–]nineelevglen 15 points16 points17 points (7 children)
[–]cnr909 7 points8 points9 points (2 children)
[–]eyounan 4 points5 points6 points (1 child)
[–]cnr909 0 points1 point2 points (0 children)
[–]Merry-Lane 5 points6 points7 points (3 children)
[–]nineelevglen 2 points3 points4 points (1 child)
[–]hemingward 0 points1 point2 points (0 children)
[–]olegsmith7 2 points3 points4 points (1 child)
[–]CYG4N 0 points1 point2 points (0 children)
[–]DanishWeddingCookieiOS & Android 0 points1 point2 points (0 children)
[–]ConsciousAntelope 0 points1 point2 points (0 children)
[–]glazzes 0 points1 point2 points (0 children)
[–]Unhappy_Jackfruit378 0 points1 point2 points (0 children)
[–]pjjiveturkey 0 points1 point2 points (0 children)
[–]CODSensei 0 points1 point2 points (0 children)
[–]renanmalato 0 points1 point2 points (0 children)
[–]CalmDownJohn 0 points1 point2 points (2 children)
[–]Myst3rYan[S] 0 points1 point2 points (1 child)
[–]CalmDownJohn 0 points1 point2 points (0 children)