How diegojrq/laravued works
LaraVueD is a Vue frontend backed by a Laravel REST API. Users navigate the interface to register or log in, obtain OAuth tokens, and access the home and user-management areas; the API also supports user listing, search, editing, and deletion. The backend separates request handling, authentication and user services, repositories, and the User model. The README documents logout and PostgreSQL; some frontend-to-feature wiring is not visible in the sampled source, so those links are omitted or marked unverified.
Main entry points: api-v1.php API routes · AuthController.php Auth controller · AuthService.php Auth service · UserRepository.php User repository
Components 21
Vue frontend
- Vue app
frontend/src/main.js - Navigation
frontend/src/router/index.js - Auth screens
frontend/src/components/auth - User screens
frontend/src/components/admin/users - Home screen
frontend/src/components/Home.vue - Auth state
frontend/src/stores/auth.js - Auth client
frontend/src/services/auth.service.js - User client
frontend/src/services/user.service.js - HTTP client
frontend/src/services/api.js
Laravel API
- API routes
backend/routes/api-v1.php - Auth controller
backend/app/Http/Controllers/Auth/AuthController.php - Auth requests
backend/app/Http/Requests - User controller
backend/app/Http/Controllers/UserController.php
User domain
- Auth service
backend/app/Services/AuthService.php - User service
backend/app/Services/UserService.php - User repository
backend/app/Repositories/UserRepository.php - Repository base
backend/app/Repositories/BaseRepository.php - User model
backend/app/Models/User.php
External services
- Laravel Passport
- PostgreSQL
Other components
- User
Connections 21
- User → Vue app: uses
- Vue app → Navigation: installs
frontend/src/main.js - User → Navigation: navigates
- Auth screens → Auth client: uses
- User screens → User client: uses
- Auth screens → Auth state: updates
- Auth client → HTTP client: uses
frontend/src/services/auth.service.js - User client → HTTP client: calls
frontend/src/services/user.service.js - HTTP client → API routes: sends API requests
- API routes → Auth controller: routes to
backend/routes/api-v1.php - API routes → User controller: routes to
backend/routes/api-v1.php - Auth controller → Auth requests: validates with
backend/app/Http/Controllers/Auth/AuthController.php - Auth controller → Auth service: delegates to
backend/app/Http/Controllers/Auth/AuthController.php - Auth service → User model: creates and queries
backend/app/Services/AuthService.php - Auth service → Laravel Passport: requests OAuth tokens
backend/app/Services/AuthService.php - User controller → User service: delegates to
backend/app/Http/Controllers/UserController.php - User service → User repository: queries users
backend/app/Services/UserService.php - User repository → Repository base: extends
backend/app/Repositories/UserRepository.php - User repository → User model: builds queries
backend/app/Repositories/UserRepository.php - User model → PostgreSQL: persists through ORM
- Home screen → Navigation: shown by