BookNest Rebuild Plan

Planning BookNest as a Native Rebuild

The baseline is deliberately small: a Book data class, an org.json parser for assets/books.json and one BaselineScreen composable. Installed and launched, it shows the same six books as Cordova to Capacitor:

BookNest's native baseline on the API 36 emulator: six books read from assets/books.json
BookNest's native baseline on the API 36 emulator: six books read from assets/books.json

The project is committed to git with a README.md recording its state, and each later section adds one layer, replacing the web and JavaScript libraries of Cordova to Capacitor with their Jetpack 234 or Kotlin equivalents:

How BookNest's pieces map onto the native stack
BookNest feature Earlier chapters Native Kotlin Section
Catalog list Framework7 572,986 list, FlatList LazyColumn 5.17
Screens and routes F7 router, Expo Router 6,418 Navigation Compose 234 5.21
App state F7 store, Zustand 58,763 ViewModel, StateFlow 5.23
Offline notes expo-sqlite 6,418 Room 234 5.25
REST catalog fetch Retrofit 43,944 or Ktor 274,728 5.27
Release Cordova 129 , EAS 6,418 , Capacitor 243,123 builds App Bundle, Play 5.38

Keep packages flat until it hurts: data for models, repositories and storage, ui for screens and theme, and one ViewModel per screen, wired together with Hilt or Koin (Hilt and Koin) once there are enough layers.