mirror of
https://github.com/mudabbir-ahmad/MAD-Treasure-Hunt.git
synced 2026-10-07 19:00:20 +00:00
Refactor database interaction to use centralized API; update game type retrieval and cache management logic (minor changes lol)
This commit is contained in:
1 parent
17ed120ce8
commit
d67522a71d
8 files changed
+104
-641
No files matched your search
@@ -16,11 +16,11 @@ expo start --android
|
||||
- `src/components/layout`: shared screen wrapper.
|
||||
- `src/components/UI`: shared UI components.
|
||||
- `src/components/screens`: app screens.
|
||||
- `src/hooks`: app state, local DB link, and feature hooks.
|
||||
- `src/hooks`: app state, API link, and feature hooks.
|
||||
- `DB`: local JSON data files.
|
||||
|
||||
## Notes
|
||||
|
||||
- The app uses local JSON data from `DB` through `src/hooks/DbController.js`.
|
||||
- The app accesses game/auth data through the centralized API endpoint via `src/hooks/dbLink.js`.
|
||||
- Navigation is handled with React Navigation native stack.
|
||||
|
||||
Reference in new issue
Block a user