π Educational Blog App - Learn Modern Web Development
π What is This?
This is a complete, production-ready blog application built to teach modern web development. Every file includes extensive educational comments explaining not just what the code does, but why it's written that way.
π Quick Start for Beginners
New to modern web development? Start here:
- π How Svelte 5 Really Works - Understand the magic of Svelte
- π How Inertia.js Really Works - The bridge between frontend and backend
- π Why Vite and Our Dependencies - Understanding modern tooling
- π¨ How Tailwind CSS Works - The utility-first revolution
- π Modern Web Dev Essentials - Authentication, databases, deployment
π Development Journey Documentation
π οΈ What's Inside?
Technology Stack
Complete Features
β
Blog System - Create, edit, delete, and manage blog posts
β
Authentication - Login, register, password reset, profile management
β
Modern UI - Responsive design with Tailwind CSS v4
β
Legal Pages - Terms of Service and Privacy Policy
β
SEO Ready - Meta tags, structured data, sitemap
β
Production Ready - Security, performance, accessibility
β‘ Quick Start (5 minutes)
Prerequisites
- PHP 8.2+ with SQLite
- Node.js 18+ with npm
- Composer
Setup Commands
# 1. Clone and install
git clone <this-repo>
cd educational-blog-app
composer install
npm install
# 2. Configure
cp .env.example .env
php artisan key:generate
php artisan migrate
# 3. Start servers (order matters!)
npm run dev # Terminal 1: Start Vite first
php artisan serve # Terminal 2: Start Laravel second
# 4. Open http://localhost:8000
Demo Login: [email protected]
/ password123
π― What Can You Learn?
Frontend Development
- π― Svelte 5 Runes - Modern reactivity with
$state
, $props
, $derived
, $effect
- π Inertia.js - Build SPAs without APIs using server-side routing
- π¨ Tailwind CSS v4 - Utility-first CSS with the latest features
- β‘ Vite - Lightning-fast development with HMR
Backend Development
- π Laravel 12 - Modern PHP with Eloquent ORM, migrations, and validation
- π Authentication - Session-based auth with password reset flow
- π Database Design - Relationships, indexes, and query optimization
- π‘οΈ Security - CSRF protection, input validation, SQL injection prevention
Full-Stack Skills
- ποΈ Architecture - How frontend and backend work together
- π± Responsive Design - Mobile-first approach with modern CSS
- βΏ Accessibility - WCAG compliance and inclusive design
- π Deployment - From development to production
Real Features You'll Build
- βοΈ Blog System - Complete CRUD with search and pagination
- π€ User Profiles - Account management and settings
- π§ Email System - Password reset with secure tokens
- π Legal Pages - Terms of Service and Privacy Policy
π Project Structure
educational-blog-app/
βββ app/ # Laravel backend
β βββ Http/Controllers/ # Handle requests
β βββ Models/ # Database models
βββ resources/
β βββ js/ # Svelte frontend
β β βββ Pages/ # Page components
β β βββ Components/ # Reusable components
β βββ css/ # Tailwind CSS
βββ routes/web.php # Application routes
βββ database/migrations/ # Database structure
βββ vite.config.js # Build configuration
π¨ Common Issues & Solutions
"Vite manifest not found"
# Start Vite first, then Laravel
npm run dev # Terminal 1
php artisan serve # Terminal 2
Styles not working?
- Check if Vite is running
- Clear browser cache
- Check browser console
Need help?
- Read the Troubleshooting Guide
- Check code comments (they explain everything!)
- Review the educational guides above
π Learning Path
For Beginners
- Start with the educational guides above
- Run the app and explore features
- Read code comments (they explain everything!)
- Try modifying small things
- Study the patterns guide
- Examine the authentication flow
- Build your own features
- Review the troubleshooting journey
For Advanced Developers
- Analyze the architecture decisions
- Optimize performance
- Add new integrations
- Deploy to production
π€ Built with AI Assistance
This project was created using modern AI-powered development tools:
- Cursor Editor + Claude AI - For code generation and problem-solving
Why this matters for learning:
- Shows how modern developers actually work
- Every AI suggestion was reviewed and tested
- Comments explain the "why" behind the code
- You learn both the tech AND the workflow
π Start Your Journey!
Ready to learn modern web development?
- π Read the guides
- π» Run the code
- π§ Break things
- π οΈ Fix them
- π Build something amazing!
Remember: The best way to learn is by doing. This codebase is your playground!
Happy coding! Every expert was once a beginner. π
Last updated: June 15, 2025 | Created with π from the Philippines π΅π using Cursor, Zed, and latest Gemini & Claude AI models