How rsmn574/androidtips works
AndroidTips is a Vue-based Android tips publication backed by Sanity. Readers navigate a home page and five category pages, open post details, and view post content and author information. Category pages request posts through the Vuex store; the post-detail view fetches an individual post directly. Sanity also supplies the author, post, and rich-text content models used by the publishing backend. The graph follows relationships shown in excerpts or the source index; unsampled page behavior is not inferred.
Main entry points: index.js Route table · nav.vue Navigation · postCard.vue Post card · view2.vue Category B
Components 23
Application shell
- Vue entry
src/main.js - App shell
src/App.vue - Route table
src/router/index.js
Reader experience
- Home page
src/views/HomeView.vue - Home card
src/components/homeCard.vue - Navigation
src/components/nav.vue - Category A
src/views/view1.vue - Category B
src/views/view2.vue - Category C
src/views/view3.vue - Category D
src/views/view4.vue - Category E
src/views/view5.vue - Post card
src/components/postCard.vue
Content delivery
- Post detail
src/views/post_id.vue - Post store
src/store/index.js - Sanity client
src/client.js - Image utilities
src/utils.js
Sanity content models
- Author schema
androidtips/schemas/author.js - Post schema
androidtips/schemas/post.js - Rich-text schema
androidtips/schemas/blockContent.js - Schema registry
androidtips/schemas/index.js - Studio config
androidtips/sanity.config.js
Other components
- Reader
- Sanity API
Connections 35
- Reader → Vue entry: opens app
- Vue entry → App shell: mounts
src/main.js - App shell → Route table: renders routes
src/App.vue - Route table → Home page: routes to
src/router/index.js - Route table → Category A: routes to
src/router/index.js - Route table → Category B: routes to
src/router/index.js - Route table → Category C: routes to
src/router/index.js - Route table → Category D: routes to
src/router/index.js - Route table → Category E: routes to
src/router/index.js - Route table → Post detail: routes to
src/router/index.js - Home page → Navigation: renders
src/views/HomeView.vue - Home page → Home card: renders
src/views/HomeView.vue - Category A → Navigation: renders
src/views/view1.vue - Category A → Post card: renders
src/views/view1.vue - Category B → Navigation: renders
src/views/view2.vue - Category B → Post card: renders
src/views/view2.vue - Category B → Post store: dispatches fetch
src/views/view2.vue - Category C → Navigation: renders
src/views/view3.vue - Category C → Post card: renders
src/views/view3.vue - Category D → Navigation: renders
src/views/view4.vue - Category D → Post card: renders
src/views/view4.vue - Category E → Navigation: renders
src/views/view5.vue - Category E → Post card: renders
src/views/view5.vue - Post detail → Navigation: renders
src/views/post_id.vue - Post store → Sanity client: fetches posts
src/store/index.js - Post detail → Sanity client: fetches post
src/views/post_id.vue - Post card → Image utilities: uses image URL
src/components/postCard.vue - Home card → Image utilities: uses utilities
src/components/homeCard.vue - Sanity client → Sanity API: configures access
src/client.js - Post store → Sanity API: queries content
src/store/index.js - Post detail → Sanity API: queries post
src/views/post_id.vue - Studio config → Schema registry: configures schemas
androidtips/sanity.config.js - Schema registry → Author schema: registers
androidtips/schemas/index.js - Schema registry → Post schema: registers
androidtips/schemas/index.js - Schema registry → Rich-text schema: registers
androidtips/schemas/index.js