Israel's AI Portfolio - Replit Documentation
Documents a cyberpunk-themed AI portfolio website with a GPT-4o chatbot, 3D animations, and a full-stack React/Express architecture.
What this file does
Documents a cyberpunk-themed AI portfolio website with a GPT-4o chatbot, 3D animations, and a full-stack React/Express architecture.
When to use it
- Building a developer portfolio with AI chatbot integration
- Creating a cyberpunk or visually immersive personal site
- Setting up a React + Express + PostgreSQL project on Replit
- Documenting a full-stack app with 3D graphics and voice features
Assumes this stack
Israel's AI Portfolio - Replit Documentation
Overview
This project is an interactive AI-powered portfolio website for Israel Opoku, a full-stack developer specializing in React and PHP. The application features a modern cyberpunk-themed design with 3D animations, an AI chatbot, and a comprehensive project showcase. It demonstrates Israel's skills in both frontend and backend development while providing an engaging user experience through AI integration.
System Architecture
Frontend Architecture
- Framework: React 18 with TypeScript
- Styling: Tailwind CSS with custom cyberpunk theme variables
- UI Components: Radix UI primitives with shadcn/ui component library
- 3D Graphics: React Three Fiber for 3D animations and effects
- Animations: Framer Motion for smooth transitions and interactions
- State Management: TanStack Query for server state management
- Routing: Wouter for lightweight client-side routing
- Form Handling: React Hook Form with Zod validation
Backend Architecture
- Runtime: Node.js with Express.js server
- Language: TypeScript with ES modules
- Database: PostgreSQL with Drizzle ORM
- Database Provider: Neon Database (serverless PostgreSQL)
- AI Integration: OpenAI GPT-4o API for chatbot functionality
- Session Management: Connect-pg-simple for PostgreSQL session storage
- Development: Vite for development server and build tooling
Database Schema
The application uses three main tables:
users: User authentication and managementchat_messages: AI conversation history storagecontact_messages: Contact form submissions
Key Components
AI Chatbot (Opoku-1)
- Custom AI assistant trained to represent Israel's professional profile
- Real-time chat interface with voice recognition support
- Conversation history persistence
- Personality-driven responses showcasing Israel's work and skills
3D Interactive Elements
- Floating particles animation system
- 3D hero section with React Three Fiber
- Cyberpunk-themed visual effects and animations
- Responsive 3D elements that adapt to screen size
Project Showcase
- Interactive project cards with hover effects
- Technology stack visualization
- Links to GitHub repositories and live demos
- Detailed project descriptions and features
Contact System
- Form validation with Zod schemas
- Email integration for contact submissions
- Toast notifications for user feedback
- Project type categorization
Data Flow
- User Interaction: Users interact with the portfolio through various components
- AI Processing: Chat messages are sent to OpenAI API via backend routes
- Database Operations: Conversations and contact forms are stored in PostgreSQL
- Real-time Updates: React Query manages cache invalidation and updates
- Visual Feedback: Toast notifications and animations provide user feedback
External Dependencies
AI Services
- OpenAI API: GPT-4o model for intelligent chatbot responses
- Environment Variables:
OPENAI_API_KEYfor API authentication
Database
- Neon Database: Serverless PostgreSQL hosting
- Environment Variables:
DATABASE_URLfor database connection
UI Libraries
- Radix UI: Accessible component primitives
- Tailwind CSS: Utility-first styling framework
- Framer Motion: Animation library for React
- React Three Fiber: 3D graphics rendering
Development Tools
- Vite: Build tool and development server
- TypeScript: Type safety and development experience
- ESBuild: Fast JavaScript bundler for production
Deployment Strategy
Build Process
- Frontend built with Vite to
dist/public - Backend bundled with ESBuild to
dist/index.js - Database schema deployed with Drizzle migrations
Environment Configuration
- Development: Uses
tsxfor TypeScript execution - Production: Compiled JavaScript execution
- Database: Automatic provisioning on Replit with PostgreSQL module
Replit Configuration
- Modules: Node.js 20, Web, PostgreSQL 16
- Port: 5000 (mapped to external port 80)
- Deployment: Autoscale deployment target
- Workflows: Automated development and production workflows
Changelog
Changelog:
- June 26, 2025: Initial setup with cinematic 3D AI portfolio
- June 26, 2025: Implemented Agent Blank with voice-first interaction system
- June 26, 2025: Added automatic microphone access and voice introduction
- June 26, 2025: Integrated conversational name recognition and session memory
- June 26, 2025: Complete knowledge base with authentic project URLs and contact info
- June 26, 2025: Female voice-only responses with specified tone settings
User Preferences
Preferred communication style: Simple, everyday language.
What's inside
7 sections covering architecture, components, data flow, dependencies, deployment, changelog, and user preferences.
Change this for your project
- Replace
Israel Opokuwith your own name and professional details - Replace
IsraelTech-Pro/DevPortfoliowith your repository URL - Replace
OPENAI_API_KEYwith your own OpenAI API key - Replace
DATABASE_URLwith your own Neon database connection string
Where it goes
Keep it in your repository where the agent or team that needs it will read it.
Worth borrowing
- Using a changelog section to track feature additions and dates
- Separating frontend and backend architecture into distinct subsections for clarity
Related Documents
GOOBY - Closing Store Marketplace
Defines a full-stack marketplace app for discovering closing retail stores in NY/NJ/CT/PA, with automated closure scanning and admin review.
Lua Code Obfuscator/Deobfuscator
Provides a full-stack web app for obfuscating and deobfuscating Roblox Lua scripts with a Monaco editor and PostgreSQL storage.
GREEN NODE - Project Overview
Describes a full-stack recycling platform with three runtime modes, provider architecture, and development scripts for Cochabamba, Bolivia.
ADN Systems DMR Peer Server
Documents a forked FreeDMR server for amateur radio DMR voice/data routing with bridges, proxies, scheduled voice announcements, and centralized security.