Laravel with VueJS by Tony Xepa
Tony Xepa · 20 lecciones · Gratis en YouTube
Sobre este curso
Build the skills to create a modern web app that feels seamless for users and stays maintainable for developers. In this free Laravel course, you’ll learn how to connect a Laravel backend to a Vue single-page application, then take it beyond a simple demo by implementing real-world patterns for authentication, data flow, error handling, and performance-friendly UX.
You’ll start by setting up separate projects for the backend and the Vue frontend, understanding why that split matters for scalability and deployment. From there, you’ll tackle one of the most common pain points in SPA development: secure, cookie-based authentication. You’ll see how Sanctum and Fortify fit together, how CSRF protection works in practice, and how to avoid the frustrating 419 issues and CSRF mismatches that often appear when wiring Axios requests to Laravel sessions.
On the frontend, you’ll craft clean register and login experiences, handle server responses correctly, and display validation feedback the way users expect. You’ll also learn how to structure forms for reuse and clarity, and how to use TypeScript-friendly patterns to keep your code predictable as your project grows. By centralizing authentication logic, persisting state, and protecting routes properly, you’ll build an app that remains stable across refreshes and navigation changes.
Once the foundation is solid, you’ll implement a posts feature end to end: creating records, listing them, viewing individual items, and updating them with reliable routing. You’ll connect Vue Router to API resources, fetch data at the right moments in the component lifecycle, and keep UI state synchronized with the server. Pagination is treated as a first-class feature, including keeping the page state in the URL so refreshes and sharing links behave correctly.
Throughout the journey, you’ll learn how to respond gracefully to errors like 401, 404, 419, and 500 without breaking the user session or leaving your interface in an inconsistent state. By the end, you’ll have a practical workflow for building Laravel-powered APIs consumed by a Vue SPA, with patterns you can reuse in portfolio projects, freelance work, or production applications.
SIEMPRE HAY ALGO MÁS