How nejim2001/bookfolio works
Bookfolio is a React Native bookcase app: a signed-in user searches book records, inspects a result, and adds or removes books from shelves; the app also provides book notes. The sampled search and shelf API code supports the Google Books flow. Note screens and most shelf-screen implementations were not sampled, so their internal calls are not mapped. Firebase is documented for authentication and note storage, but the sampled Firebase module only establishes a Firestore collection; its consumers are not evidenced here.
Main entry points: appNavigation.js App navigation · App.js App providers · SearchScreen.js Book search · googleBooks.js Books API
Components 18
App shell
- App providers
App.js - Auth state
theme/AuthContext.js - App navigation
navigation/appNavigation.js - Welcome
screens/WelcomeScreen.js
Book discovery
- Book search
screens/SearchScreen.js - Search result
screens/SearchInfoScreen.js - Book tile
components/BookWithTitle.js - Books API
api/googleBooks.js
Bookshelf
- Home
screens/HomeScreen.js - Book details
screens/BookInfoScreen.js - Shelf category
screens/BookCategoryScreen.js
Book notes
- Note screens
screens/NoteScreen.js - Add note
screens/AddNoteScreen.js - Edit note
screens/EditNoteScreen.js
External services
- Firestore setup
config/firebase.js - Google Books
- Firebase Firestore
Other components
- Reader
Connections 19
- Reader → App providers: opens
- App providers → Auth state: provides state
- App providers → App navigation: renders
- App navigation → Auth state: checks user
- App navigation → Welcome: dispatches
- App navigation → Home: dispatches
- App navigation → Book search: dispatches
- App navigation → Search result: dispatches
- App navigation → Book details: dispatches
- App navigation → Shelf category: dispatches
- App navigation → Note screens: dispatches
- App navigation → Add note: dispatches
- App navigation → Edit note: dispatches
- Book search → Books API: searches
- Book search → Book tile: renders results
- Book tile → App navigation: navigates
- Search result → Books API: adds to shelf
- Books API → Google Books: requests shelf data
- Firestore setup → Firebase Firestore: initializes