Skip to content

πŸš€ Enterprise-grade Next.js portfolio demonstrating AI-accelerated development with comprehensive testing, CI/CD automation, and self-documenting architecture. A real-world example of modern SDLC practices.

Notifications You must be signed in to change notification settings

ncolesummers/enterprise-intelligence-portfolio

Repository files navigation

Enterprise Intelligence Portfolio

A modern, enterprise-grade portfolio website showcasing enterprise intelligence projects and professional experience. Built with Next.js 15, TypeScript, and cutting-edge web technologies.

πŸ€– Built entirely through AI-assisted development using specialized expert prompts with Claude Code. See /.prompts/ for the complete methodology and role-based prompts used to achieve enterprise-grade quality.

Features

  • ✨ Modern Tech Stack: Next.js 15 with App Router, TypeScript, Tailwind CSS
  • 🎨 Theme Toggle: Light/dark mode switching with system preference detection
  • πŸ“± Responsive Design: Mobile-first approach with seamless cross-device experience
  • πŸ”’ Type Safety: Comprehensive TypeScript implementation with strict mode
  • πŸ“§ Functional Contact Form: FormSpree integration with real email delivery
  • 🎭 Smooth Animations: Intersection Observer-based scroll animations with reduced motion support
  • β™Ώ Accessibility First: WCAG 2.1 AA compliance with keyboard navigation and screen reader support
  • πŸ§ͺ Testing Excellence: 153 E2E tests across 5 browsers with 100% reliability and flaky test elimination
  • πŸ”§ Form Validation: React Hook Form + Zod schema validation with real-time feedback
  • πŸ“Š Analytics Ready: Vercel Analytics integration for engagement insights
  • πŸ” SEO Optimized: Meta tags, Open Graph, structured data, and dynamic sitemap

Getting Started

Prerequisites

  • Node.js 18+
  • pnpm (recommended) or npm

Installation

# Clone the repository
git clone https://github.com/ncolesummers/enterprise-intelligence-portfolio.git
cd enterprise-intelligence-portfolio

# Install dependencies
pnpm install

# Start development server
pnpm dev

Open http://localhost:3000 to view the portfolio.

Available Scripts

Development

  • pnpm dev - Start development server with Turbopack
  • pnpm build - Build production version
  • pnpm start - Start production server
  • pnpm lint - Run ESLint
  • pnpm format - Format code with Prettier

Testing

  • pnpm test:e2e - Run Playwright E2E tests (UI behavior + mocked integration)
  • pnpm test:e2e:ui - Run tests with interactive UI
  • pnpm test:contact-form - Run contact form specific tests
  • TEST_INTEGRATION=true pnpm test:e2e - Run full integration tests (use sparingly due to rate limits)

Testing Strategy

This project achieves testing excellence through comprehensive automation:

πŸ“Š Test Metrics:

  • 153 E2E tests across 5 browser configurations (Chromium, Firefox, WebKit, Mobile Chrome, Mobile Safari)
  • 100% test reliability with flaky test elimination and browser-specific optimizations
  • Three-tier strategy: UI behavior tests, integration health checks, full API testing
  • WCAG 2.1 AA compliance with accessibility and keyboard navigation testing

🎯 Quality Achievements:

  • Zero ESLint violations with strict TypeScript
  • Cross-browser form validation and error handling
  • Performance testing with <3s load time requirements
  • Rate-limit-aware testing with FormSpree API mocking

For detailed testing documentation and AI-assisted development methodology, see docs/TEST_PLAN.md and /.prompts/.

Architecture

This portfolio follows enterprise-grade development practices with AI-assisted excellence:

  • Component Architecture: Modular components with clear separation of concerns
  • Design System: shadcn/ui components with consistent theming and accessibility
  • Form Validation: React Hook Form + Zod schemas with TypeScript integration
  • State Management: Centralized configuration with next-themes for theme management
  • Testing Strategy: Three-tier approach with mocked APIs and cross-browser validation
  • Performance: Optimized images, lazy loading, and efficient bundle splitting
  • Error Handling: Comprehensive error boundaries and graceful degradation

AI-Assisted Development Methodology

This project demonstrates enterprise-grade AI-assisted development using:

  • Role-based expert prompts for specialized development tasks
  • Quality-first approach with comprehensive testing and validation
  • Open source transparency - all prompts and methodologies are public
  • Educational value for developers learning AI-assisted patterns

See /.prompts/README.md for complete methodology and 8 specialized expert roles used.

Contributing

Please follow our Definition of Done for all contributions:

Definition of Done

Before considering any code change complete, ensure all criteria are met:

Code Quality

  • Linting passes: Run pnpm lint with zero errors or warnings
  • Build succeeds: Run pnpm build successfully without TypeScript errors
  • Type safety: All TypeScript types are properly defined and used
  • Code formatting: Code follows Prettier formatting standards

Functionality

  • Feature works as intended: Manual testing confirms expected behavior
  • Cross-browser compatibility: Tested in Chrome, Firefox, and Safari (when applicable)
  • Responsive design: Works on mobile, tablet, and desktop viewports
  • Accessibility: Meets WCAG 2.1 AA standards (keyboard navigation, screen readers, color contrast)

Testing

  • E2E tests pass: Relevant Playwright tests execute successfully
  • No console errors: Browser console shows no JavaScript errors
  • Contact form verification: FormSpree integration tested (when touching contact functionality)

Performance & UX

  • Reduced motion respected: Animations honor prefers-reduced-motion setting
  • Theme compatibility: Works correctly in both light and dark themes
  • Loading states: Appropriate loading indicators for async operations
  • Error handling: Graceful error states with user-friendly messages

Documentation

  • Code is self-documenting: Clear component and function names
  • Complex logic explained: Comments added for non-obvious implementations
  • CLAUDE.md updated: Architecture notes updated if patterns change

Git Standards

  • Atomic commits: Each commit represents one logical change
  • Clear commit messages: Descriptive messages explaining "why" not just "what"
  • No sensitive data: No API keys, secrets, or personal data committed

Production Readiness

  • Vercel deployment succeeds: Build and deployment pipeline completes
  • Analytics working: Vercel Analytics tracking page views (when applicable)
  • SEO optimized: Meta tags, Open Graph, and structured data present

Technology Stack

  • Framework: Next.js 15 with App Router
  • Language: TypeScript with strict mode
  • Styling: Tailwind CSS with CSS variables
  • Components: shadcn/ui + Radix UI primitives
  • Theme: next-themes with system preference detection
  • Icons: Lucide React
  • Forms: React Hook Form + Zod validation with FormSpree integration
  • Testing: Playwright E2E testing with 153 tests across 5 browsers
  • Analytics: Vercel Analytics
  • Deployment: Vercel Platform

Project Structure

src/
β”œβ”€β”€ app/                 # Next.js App Router pages
β”‚   └── api/            # API routes (FormSpree mock)
β”œβ”€β”€ components/          # Reusable components
β”‚   └── ui/             # shadcn/ui components
β”œβ”€β”€ lib/                # Utilities, validation, and configurations
└── assets/             # Static assets and images
tests/
β”œβ”€β”€ e2e/                # Playwright E2E tests
└── fixtures/           # Test data and configurations
.prompts/               # AI-assisted development methodology
└── roles/              # Specialized expert prompts

Deployment

The portfolio is automatically deployed on Vercel with continuous deployment from the main branch.

Deploy with Vercel

License

This project is for portfolio purposes. All rights reserved.


Built with ❀️ by N. Cole Summers

Showcasing the future of AI-assisted development: enterprise-grade quality through intelligent automation and specialized expert prompts.

About

πŸš€ Enterprise-grade Next.js portfolio demonstrating AI-accelerated development with comprehensive testing, CI/CD automation, and self-documenting architecture. A real-world example of modern SDLC practices.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published