Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

πŸ“˜ Interactive book on AI-Driven Development with 40 MCQs, flashcards, smart chatbot, and beautiful diagrams. Learn to build apps with GPT-4, Claude & Gemini!

Notifications You must be signed in to change notification settings

Ibrahim4594/ai-driven-book

Repository files navigation

πŸ“˜ AI-Driven Development - Complete Guide

The Complete Guide to AI-Driven and Spec-Driven Software Development

Live Demo GitHub Pages Built with Docusaurus

🌐 Live Website

Visit the book online: https://ibrahim4594.github.io/ai-driven-book/

πŸ“– About

This comprehensive interactive book teaches modern software development using AI-powered tools and Specification-Driven Development (SDD) methodology. Learn how to leverage Large Language Models (LLMs) like GPT-4, Claude, and Gemini to build production-ready applications faster and more efficiently.

✨ Features

πŸ“š 8 Comprehensive Chapters

  • Chapter 1: LLM Foundations
  • Chapter 2: AI-Driven Development Introduction
  • Chapter 3: AI Tool Landscape
  • Chapter 4: Markdown, Prompts & Context Engineering
  • Chapter 5: SDD Fundamentals
  • Chapter 6: Spec-Driven Methodology
  • Chapter 7: Building RAG-Based Chatbots
  • Chapter 8: Implementation Guide

🎯 Interactive Learning

  • βœ… 40 MCQ Questions - 5 questions per chapter to test your knowledge
  • 🎴 Flashcards - Quick review cards for key concepts
  • πŸ“Š Beautiful Diagrams - Flowcharts optimized for light/dark mode
  • πŸ“ˆ Reading Progress Bar - Track your progress through the book

πŸ€– Smart AI Chatbot

  • Supports OpenAI (GPT-4o, GPT-4o-mini, GPT-4-Turbo, o1-preview, o1-mini)
  • Supports Google Gemini 1.5 Flash
  • Context-aware responses from selected text
  • Privacy-first: Uses your own API keys

🎨 Modern Design

  • Responsive mobile-first design
  • Dark/Light mode support
  • Smooth animations and transitions
  • Professional glassmorphism effects

πŸ› οΈ Tech Stack

  • Framework: Docusaurus v3.9.2
  • Frontend: React 19, TypeScript
  • Backend: FastAPI (Python)
  • Styling: CSS Modules
  • Diagrams: Mermaid.js
  • Code Editor: Sandpack by CodeSandbox
  • Deployment: GitHub Pages

πŸš€ Quick Start

Prerequisites

  • Node.js 20.0 or higher
  • npm or yarn

Installation

# Clone the repository
git clone https://github.com/Ibrahim4594/ai-driven-book.git
cd ai-driven-book
# Install dependencies
npm install

Local Development

# Start development server (default port 3000)
npm start
# Start on custom port
npm start -- --port 5656

Visit http://localhost:3000/ai-driven-book/ (or your custom port)

Build for Production

# Create optimized production build
npm run build
# Test production build locally
npm run serve

Deploy to GitHub Pages

# Build and deploy
npm run build
npm run deploy

πŸ€– Chatbot Setup (Optional)

The chatbot requires a backend server for CORS-free API calls.

Quick Setup

  1. Start Backend:

    cd backend
    double-click start-chatbot-backend.bat
  2. Start Frontend:

    npm start
  3. Use Chatbot:

    • Click the chat icon in the bottom right
    • Enter your OpenAI or Gemini API key
    • Start chatting!

For detailed setup, see CHATBOT_SETUP.md

πŸ“‚ Project Structure

ai-driven-book/
β”œβ”€β”€ docs/ # Book content (Markdown)
β”‚ β”œβ”€β”€ chapters/ # 8 chapters
β”‚ β”œβ”€β”€ resources.md # AI tools & resources
β”‚ └── 00-preface.md # Book preface
β”œβ”€β”€ src/
β”‚ β”œβ”€β”€ components/ # React components
β”‚ β”‚ β”œβ”€β”€ Chatbot/ # AI chatbot
β”‚ β”‚ β”œβ”€β”€ MCQ/ # Quiz component
β”‚ β”‚ β”œβ”€β”€ Flashcards/ # Flashcard component
β”‚ β”‚ └── DeveloperFooter/ # Footer with credentials
β”‚ β”œβ”€β”€ pages/ # Landing page
β”‚ └── css/ # Global styles
β”œβ”€β”€ static/ # Static assets (images, etc.)
β”œβ”€β”€ backend/ # FastAPI backend for chatbot
└── docusaurus.config.ts # Docusaurus configuration

πŸŽ“ Learning Path

  1. Read the Preface - Understand the book's philosophy
  2. Complete Chapter 1-4 - Build foundations in AI & LLMs
  3. Study Chapter 5-6 - Master Spec-Driven Development
  4. Build Projects (Chapter 7-8) - Apply your knowledge
  5. Take Chapter Quizzes - Test your understanding
  6. Review Flashcards - Reinforce key concepts

πŸ“š Additional Resources

πŸ‘¨β€πŸ’» Developer

Ibrahim Samad

Full-Stack Developer | AI Specialist | Educator

πŸ† Achievements

  • πŸ† HBL P@SHA Winner
  • πŸ₯‡ Eastern Michigan University - 1st Prize
  • πŸŽ–οΈ NED University - D2D Program
  • πŸ‘¨β€πŸ« Sr. Instructor
  • πŸŽ“ UTech Ambassador
  • πŸš€ NASA Ambassador

πŸ’» Expertise

Agentic AI | Robotic AI | Gen AI | Python | DevOps | Ethical Hacking | Data Science | Machine Learning | Kubernetes | MCP | Docker | Flutter

πŸ”— Connect

πŸ“„ License

Copyright Β© 2025 Ibrahim Samad. All rights reserved.

🀝 Contributing

This is a personal educational project. If you find any issues or have suggestions, feel free to open an issue!

πŸ™ Acknowledgments

  • Built with Docusaurus
  • AI-powered development with Claude Code
  • Learning materials inspired by Panaversity
  • Community support from AI development communities

Ready to start your AI-driven development journey?

πŸ‘‰ Visit the Book | πŸ“– Read the Preface | πŸš€ Get Started

About

πŸ“˜ Interactive book on AI-Driven Development with 40 MCQs, flashcards, smart chatbot, and beautiful diagrams. Learn to build apps with GPT-4, Claude & Gemini!

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

AltStyle γ«γ‚ˆγ£γ¦ε€‰ζ›γ•γ‚ŒγŸγƒšγƒΌγ‚Έ (->γ‚ͺγƒͺγ‚ΈγƒŠγƒ«) /