How petrofx7/todoapp works
This is a Vue 3 starter application organized around routing, an authentication feature, a theme feature, and reusable shared UI. The visible user path is entering the app and reaching the login route; the tree also indicates registration and authentication API modules. Sampled source confirms app/router setup and theme persistence, but not the internal wiring of the auth components or API, so those links are omitted. No README content was provided.
Main entry points: index.ts Router · main.ts App Entry · App.vue Root View · useTheme.ts Theme Store
Components 20
Application
- App Entry
src/app/main.ts - Root View
src/app/App.vue - Router
src/app/router/index.ts - Auth Routes
src/app/router/auth/index.ts - Login Page
src/pages/Login/index.vue - Not Found
src/pages/NotFound/index.vue
Product Features
- Auth Feature
src/features/auth/AuthFeature.vue - Login Form
src/features/auth/components/LoginForm.vue - Register Form
src/features/auth/components/RegisterForm.vue - Auth Composables
src/features/auth/composables/index.ts - Auth Store
src/features/auth/store/index.ts - Auth API
src/features/auth/api/index.ts - Theme Toggle
src/features/theme/components/ThemeToggle.vue - Theme Store
src/features/theme/composables/useTheme.ts - Theme Utilities
src/features/theme/utils/createThemes.ts
Shared UI
- Shared UI
src/shared/ui/index.ts - HTTP Client
src/shared/api/client.ts
Other components
- User
- API Service
- Local Storage
Connections 8
- User → App Entry: opens app
- App Entry → Root View: mounts
- App Entry → Router: installs
- Root View → Router: renders routes
- Router → Login Page: routes /
- Router → Not Found: routes fallback
- Router → Auth Routes: includes routes
- Theme Store → Local Storage: reads and writes