Full Stack Web Development with Django and Vue.js Full Stack Web Development with Django and Vue.js

Full Stack Web Development with Django and Vue.js

Build and deploy dynamic, data-driven web applications using REST APIs, component-based UI design, and seamless front-to-back integration

    • $25.99
    • $25.99

Publisher Description

Build production-ready full stack web applications by mastering REST API design, JWT authentication, real-time WebSockets, and cloud deployment with Django and Vue.js

Full stack development demands fluency on both sides of the stack — knowing how to design a clean backend API is not enough if you cannot build the frontend that consumes it, and knowing how to build beautiful UI components is not enough if you cannot secure and deploy the server behind them. This book closes that gap by building a complete, production-ready portfolio application from the ground up, teaching every layer of the stack in the context of a real application that grows in complexity chapter by chapter.

You will start by setting up a professional Django project with split settings, environment variable management, and a Vue 3 frontend scaffolded with Vite. From there you will build a PostgreSQL-backed data model, design a versioned REST API with Django REST Framework, and secure it with JWT authentication including token rotation and blacklisting. On the frontend, you will master Vue 3's Composition API, build a reusable component library, manage application state with Pinia, and connect to the API through an Axios service layer with automatic token refresh.

The book then moves into advanced territory: real-time bidirectional communication with Django Channels and WebSockets, comprehensive testing across all three layers of the stack, query optimization with select_related and prefetch_related, Redis caching, rate limiting, XSS and CSRF protection, and security headers. The final chapters walk through deploying the entire application to a production Linux server with Nginx, Gunicorn, Daphne, SSL certificates, and a zero-downtime deployment script, before showing how to extend the stack with Celery background tasks, Cloudinary media storage, SendGrid email delivery, Docker containerization, and GitHub Actions CI/CD pipelines.

What You Will Learn
Build a normalized PostgreSQL data model with Django ORM, custom managers, and optimized queries using select_related, prefetch_related, and composite indexes
Design a REST API with Django REST Framework covering serializers, viewsets, custom permissions, filtering, pagination, and throttling
Secure the API with JWT authentication, token rotation, refresh token blacklisting, and rate limiting on sensitive endpoints
Build a component-based Vue 3 frontend with the Composition API, reusable base components, Vue Router with navigation guards, and Pinia stores
Implement real-time features using Django Channels, Redis channel layers, and WebSocket connections managed from Vue with automatic reconnection logic
Write a complete test suite covering Django model and API tests, Vitest component and store tests, and Playwright end-to-end tests with CI/CD integration
Harden the application against SQL injection, XSS, CSRF, and misconfigured CORS, and pass Django's production deployment checks
Deploy the full stack to a Linux VPS with Nginx, Gunicorn, Daphne, PostgreSQL, Redis, Let's Encrypt SSL, and an automated deployment script

Who This Book Is For
This book is for web developers who have written Python and JavaScript before and want to build complete, production-ready applications rather than isolated backend or frontend projects. You should be comfortable with basic Python syntax, HTML, and the fundamentals of how HTTP works. No prior experience with Django, Vue.js, REST APIs, or deployment is required — every concept is introduced from first principles and demonstrated through working code. Developers who have used Django or Vue.js separately and want to understand how to combine them effectively will find the integration chapters particularly valuable.

GENRE
Computers & Internet
RELEASED
2026
March 10
LANGUAGE
EN
English
LENGTH
411
Pages
PUBLISHER
M.T.Holbrook
SELLER
Bradley Turner
SIZE
2.9
MB