Simple React Native App Folder Structure

 BookingApp/

├── android/

├── ios/

├── index.js

├── app.json

├── package.json

├── tsconfig.json          # or jsconfig.json

├── babel.config.js

├── src/

│   ├── api/

│   │   ├── client.ts

│   │   ├── endpoints.ts

│   │   ├── hooks/

│   │   │   ├── useBookings.ts

│   │   │   └── useAuth.ts

│   │   └── services/

│   │       ├── authService.ts

│   │       └── bookingService.ts

│   │

│   ├── assets/

│   │   ├── fonts/

│   │   ├── images/

│   │   └── icons/

│   │

│   ├── components/

│   │   ├── common/

│   │   │   ├── AppButton.tsx

│   │   │   ├── AppInput.tsx

│   │   │   └── AppText.tsx

│   │   ├── layout/

│   │   │   └── Screen.tsx

│   │   └── booking/

│   │       └── BookingCard.tsx

│   │

│   ├── config/

│   │   ├── colors.ts

│   │   ├── constants.ts

│   │   ├── env.ts

│   │   └── theme.ts

│   │

│   ├── navigation/

│   │   ├── index.tsx

│   │   ├── AppNavigator.tsx

│   │   ├── AuthNavigator.tsx

│   │   └── types.ts

│   │

│   ├── screens/

│   │   ├── Auth/

│   │   │   ├── LoginScreen.tsx

│   │   │   └── RegisterScreen.tsx

│   │   ├── Booking/

│   │   │   ├── BookingListScreen.tsx

│   │   │   └── BookingDetailScreen.tsx

│   │   ├── Home/

│   │   │   └── HomeScreen.tsx

│   │   └── Profile/

│   │       └── ProfileScreen.tsx

│   │

│   ├── store/

│   │   ├── index.ts

│   │   ├── auth/

│   │   │   └── authSlice.ts

│   │   ├── booking/

│   │   │   └── bookingSlice.ts

│   │   └── hooks.ts

│   │

│   ├── utils/

│   │   ├── helpers.ts

│   │   ├── validators.ts

│   │   └── storage.ts

│   │

│   ├── hooks/

│   │   ├── useAuth.ts

│   │   └── useTheme.ts

│   │

│   ├── types/

│   │   ├── Booking.ts

│   │   ├── User.ts

│   │   └── index.ts

│   │

│   └── App.tsx

└── README.md


Comments

Popular posts from this blog

Basics Of PHP

Creating App.js for Node Application

WordPress Full Guide For Developer