How dasgajraj/justdoit works
Project type and purpose
• This is a cross-platform mobile application built with React Native and Expo.
• It implements a local, feature-rich task manager: UI screens, theme system, local storage, and notifications—no external backend.
File structure
• Entry points:
• index.js – registers the root component
• App.js – wraps NavigationContainer and Redux Provider
• Directories:
• navigation/ – React Navigation setup (stackNavigation.js, tabNavigation.js)
• redux/ – actions, constants, reducers, store, Redux-Persist setup
• ui/ – screen components (HomeScreen, SettingsScreen, LoadingScreen)
• Config files: app.json (Expo), package.json, .gitignore
README for insights
• Technology stack: React Native, Expo, Redux, Redux Persist, AsyncStorage, Expo Notifications, React Navigation
• Architectural notes: unidirectional data flow, theme persistence, local notifications, AsyncStorage integration.
Main components & their interactions
a. Components:
1. React Native Runtime (JavaScript VM on device)
2. App Root (App.js)
3. Navigation Layer (TabNavigator + StackNavigator)
4. UI Screens (Home, Settings, Loading)
5. State Management (Redux Store + Redux Persist)
6. Local Storage (AsyncStorage)
7. Notification Service (Expo Notifications + OS)
b. Relationships / Data flow:
• App Root initializes NavigationContainer and Redux Provider → passes store to UI
• UI Screens dispatch Redux actions → RootReducer updates state → Redux Persist writes to AsyncStorage
• On app start, Redux Persist rehydrates store from AsyncStorage before UI renders
• HomeScreen schedules local notifications via Expo Notifications API → OS handles delivery
c. Architectural patterns:
• Flux / unidirectional data flow (React → Action → Reducer → Store → React)
• Container/Presentational separation: screens vs. state logic in redux/
• Modular navigation: stacks for in-flow modals, bottom tabs for main sections
d. Core technologies:
• React Native + Expo (presentation/runtime)
• React Navigation (navigation)
• Redux & Redux Persist (state container + persistence)
• AsyncStorage (device storage)
• Expo Notifications (local notifications)