How l1enn/laravel-projects works
This repository contains two Laravel applications: a social blog and a web shop. In the blog, visitors browse posts and signed-in users can manage posts, profiles, and engagement; in the shop, users browse goods and manage baskets and orders, while admins maintain the catalog. The graph preserves those product areas and their domain models. Several route files and controllers were not excerpted, so links that would depend on that wiring are omitted; dashed links mark unverified runtime connections.
Main entry points: router.js Blog navigation · User.php User accounts · Post.php Posts · OrderController.php Order operations
Components 24
Blog interface
- Blog Vue app
blog/resources/js/app.js - Blog navigation
blog/resources/js/router.js - Login and registration
blog/resources/js/components/auth/LoginComponent.vue - Authentication state
blog/resources/js/stores/AuthStore.js - Post state
blog/resources/js/stores/PostsStore.js - Post views and editing
blog/resources/js/components/posts - Profile views
blog/resources/js/components/profile
Blog domain
- Post operations
blog/app/Http/Controllers/PostController.php - Profile operations
blog/app/Http/Controllers/ProfileController.php - User accounts
blog/app/Models/User.php - Posts
blog/app/Models/Post.php - Comments
blog/app/Models/Comment.php - Likes
blog/app/Models/Like.php - Post views
blog/app/Models/View.php - Profiles
blog/app/Models/Profile.php
Shop catalog
- Catalog operations
shop/app/Http/Controllers/GoodController.php - Goods
shop/app/Models/Good.php - Admin access
shop/app/Http/Controllers/AdminController.php
Shop commerce
- Basket operations
shop/app/Http/Controllers/BasketController.php - Basket
shop/app/Models/Basket.php - Order operations
shop/app/Http/Controllers/OrderController.php - Orders
shop/app/Models/Order.php
Other components
- Blog visitor
- Shop visitor
Connections 28
- Blog Vue app → Blog navigation: installs
blog/resources/js/app.js - Blog navigation → Authentication state: checks auth
blog/resources/js/router.js - Blog navigation → Post state: checks posts
blog/resources/js/router.js - Blog navigation → Login and registration: routes to
blog/resources/js/router.js - Blog navigation → Post views and editing: routes to
blog/resources/js/router.js - Blog navigation → Profile views: routes to
blog/resources/js/router.js - Post operations → Posts: reads and writes
blog/app/Http/Controllers/PostController.php - Profile operations → Profiles: uses
blog/app/Http/Controllers/ProfileController.php - User accounts → Profiles: has profile
blog/app/Models/User.php - User accounts → Posts: has posts
blog/app/Models/User.php - User accounts → Comments: has comments
blog/app/Models/User.php - User accounts → Likes: has likes
blog/app/Models/User.php - User accounts → Post views: has views
blog/app/Models/User.php - Posts → Comments: has comments
blog/app/Models/Post.php - Posts → Likes: has likes
blog/app/Models/Post.php - Posts → Post views: has views
blog/app/Models/Post.php - Blog visitor → Blog Vue app: uses
- Authentication state → Post operations: requests API
- Catalog operations → Goods: reads and writes
shop/app/Http/Controllers/GoodController.php - Order operations → Basket: uses
shop/app/Http/Controllers/OrderController.php - Order operations → Goods: uses
shop/app/Http/Controllers/OrderController.php - Order operations → Orders: uses
shop/app/Http/Controllers/OrderController.php - Goods → Basket: has baskets
shop/app/Models/Good.php - Goods → Orders: has orders
shop/app/Models/Good.php - Shop visitor → Catalog operations: browses
- Shop visitor → Basket operations: manages basket
- Shop visitor → Order operations: places orders
- Admin access → Catalog operations: manages catalog