How jmarcosz/pasantiasrd works
Project Type and Purpose
• This is a full-stack web application built with Laravel (PHP) on the backend and Vue.js via Inertia.js on the frontend.
• The domain is an internship/job portal connecting students and companies, with features for vacancies, applications, company profiles, chat messaging, favorites, user profiles, and authorization (roles: student vs. company).
File Structure
• Top‐level:
• public/ – entry point (index.php), static assets (images, fonts).
• resources/js/ – Vue components, pages, layouts, app.js (bootstraps Inertia & Vue).
• resources/views/ – Blade templates (Inertia root view).
• app/Http/Controllers/ – Laravel controllers implementing routing logic (web + API).
• app/Models/ – Eloquent ORM models mapping to database tables.
• app/Http/Middleware/ – request filtering (role-based access for Empresa/Estudiante, Inertia handler).
• routes/ – route definitions (web.php for pages, api.php for JSON endpoints).
• database/ – migrations (schema), seeders, factories.
• config/, bootstrap/, storage/, etc. – configuration, caching, sessions, file storage.
Extract Additional Insights from README
• We infer typical Laravel patterns: MVC, Eloquent ORM, Inertia SPAs, event broadcasting (MessageSent event).
Detailed Component Breakdown
• Browser / Vue.js SPA
• Inertia.js adapter
• NGINX or Apache + PHP-FPM
• Laravel Middleware chain (auth, Empresa/Estudiante)
• Controllers & FormRequests
• Policies & Gates
• Eloquent Models & Relationships
• Database schema (main tables)
• File storage path
• Cache/Session store
• Queue workers (if used)
• Mail & Broadcast providers