- Bump version to 0.1.1 for tracking - Add webpack-bundle-optimizer script for Next.js config - Simplify ESLint configuration to resolve missing dependencies - Prepare for production deployment with proper version control This deployment includes: - Profile update fixes with banner_url support - LN address validation - Auth cookie fixes for profile updates - Various documentation and testing improvements 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
created_date, last_modified_date, last_modified_summary
| created_date | last_modified_date | last_modified_summary |
|---|---|---|
| 2025-06-05 | 2025-06-05 | Added documentation standards including creation and modification dates |
📚 OrangeCat Documentation
Complete Guide for New Engineers
Welcome to OrangeCat - A modern Bitcoin fundraising platform built with Next.js, TypeScript, and Supabase.
🚀 Quick Start (New Engineers)
👋 First time here? Follow this path:
- 🛠️ Development Setup - Get your dev environment running
- 🏗️ Architecture Overview - Understand the system design
- 📖 Contributing Guide - How to contribute code
- 🔐 Security Guidelines - Security best practices
📋 Table of Contents
🏗️ System & Architecture
- 🏗️ Architecture Overview - System design and technical decisions
- 🗄️ Database Schema - Complete database structure
- 🔧 API Reference - REST API documentation
- 🔐 Authentication System - Auth flow and security
🛠️ Development
- 🛠️ Development Setup - Local environment setup
- 🚀 Deployment Guide - Production deployment
- 📖 Contributing Guidelines - How to contribute
- 🧪 Testing Guide - Testing strategies and setup
🎨 Design & UI
- 🎨 Design System - Colors, typography, components
- 🧩 Component Library - Reusable UI components
- 📱 Responsive Design - Mobile-first approach
⚡ Features
- 👤 User Profiles - Profile management system
- 💰 Campaign Management - Fundraising campaigns
- 🔍 Search & Discovery - Search algorithms
- 📊 Analytics Dashboard - Real-time analytics
🔐 Security
- 🔐 Security Guidelines - Security best practices
- 🛡️ Security Audit - Latest security audit
- 🚨 Incident Response - Security incidents
📊 Operational
- 📊 Monitoring - Application monitoring
- 🐛 Troubleshooting - Common issues
- 🔄 Maintenance - Regular maintenance tasks
🎯 Documentation Philosophy
Our documentation follows these principles:
- 📖 Clarity First - Clear, concise language for all skill levels
- 🎯 Task-Oriented - Organized by what you want to accomplish
- 🔄 Living Documentation - Kept up-to-date with code changes
- 🌍 Accessible - Available to everyone, regardless of background
🏗️ Project Overview
OrangeCat is a Bitcoin fundraising platform that enables transparent, secure crowdfunding with Bitcoin payments. Built with modern web technologies and security-first principles.
🎯 Core Features
- Bitcoin Integration - Native Bitcoin and Lightning Network support
- Transparent Funding - Real-time funding tracking and transparency
- User Profiles - Comprehensive profile management
- Campaign Management - Create and manage fundraising campaigns
- Security-First - Enterprise-grade security and validation
🛠️ Tech Stack
- Frontend: Next.js 14, React, TypeScript, Tailwind CSS
- Backend: Next.js API Routes, Supabase (PostgreSQL)
- Authentication: Supabase Auth with JWT
- Payments: Bitcoin and Lightning Network integration
- Deployment: Vercel (Frontend), Supabase (Database)
📁 Documentation Structure
docs/
├── README.md # This file - main entry point
├── SETUP.md # Development environment setup
├── ARCHITECTURE.md # System architecture overview
├── CONTRIBUTING.md # Contribution guidelines
├── SECURITY.md # Security guidelines
├── DEPLOYMENT.md # Deployment procedures
├── TESTING.md # Testing strategies
│
├── api/ # API Documentation
│ ├── README.md # API overview
│ ├── auth.md # Authentication endpoints
│ ├── profiles.md # Profile management
│ └── campaigns.md # Campaign endpoints
│
├── design-system/ # Design System
│ ├── README.md # Design system overview
│ ├── colors.md # Color palette
│ ├── typography.md # Typography scale
│ └── components.md # Component guidelines
│
├── features/ # Feature Documentation
│ ├── README.md # Features overview
│ ├── profile.md # Profile system
│ ├── campaigns.md # Campaign management
│ ├── search.md # Search functionality
│ └── dashboard.md # Analytics dashboard
│
├── security/ # Security Documentation
│ ├── README.md # Security overview
│ ├── authentication.md # Auth security
│ ├── validation.md # Input validation
│ └── incident-response.md # Incident procedures
│
└── operations/ # Operational Documentation
├── README.md # Operations overview
├── monitoring.md # Application monitoring
├── troubleshooting.md # Common issues
└── maintenance.md # Maintenance procedures
🎯 How to Use This Documentation
👨💻 For Developers
- Start with Development Setup
- Review Architecture Overview
- Check Contributing Guidelines
- Explore Component Documentation
🎨 For Designers
- Review Design System
- Understand Component Guidelines
- Check Color Usage
- Review Typography
🔐 For Security Engineers
- Read Security Guidelines
- Review Security Audit Report
- Check Authentication System
- Understand Validation Framework
📊 For DevOps/SRE
- Review Deployment Guide
- Set up Monitoring
- Understand Troubleshooting
- Review Maintenance Procedures
🆘 Getting Help
📞 Support Channels
- GitHub Issues - Bug reports and feature requests
- Discussions - General questions and discussions
- Security - security@orangecat.com for security issues
📚 Additional Resources
- Development Roadmap - Current development priorities
- Changelog - Latest changes and releases
- FAQ - Frequently asked questions
🔄 Keeping Documentation Updated
📝 When making changes:
- Update relevant documentation files
- Add new features to the appropriate sections
- Remove outdated information
- Update links and cross-references
- Test all code examples
🔍 Documentation Reviews:
- Weekly - Check for broken links and outdated content
- Monthly - Review and update major sections
- Release - Update all release-related documentation
🎉 Welcome to the team! This documentation is here to help you succeed. If something is unclear or missing, please contribute by improving it!
OrangeCat Documentation
This directory contains all documentation for the OrangeCat project, organized into logical categories for easy navigation and maintenance.
Directory Structure
-
forward-looking/- Future plans, roadmaps, and vision documents- ROADMAP.md - Project roadmap and implementation plan
- TODO.md - Current tasks and priorities
-
development/- Development guides and standards- BEST_PRACTICES.md - Development best practices
- Standards and guidelines for code quality
-
operations/- Deployment and infrastructure- DEPLOYMENT.md - Deployment procedures
- ENVIRONMENT.md - Environment setup and configuration
-
security/- Security policies and guidelines- SECURITY.md - Security overview and policies
- auth_system.md - Authentication system documentation
-
design/- Design system and UI/UX- DESIGN.md - Design principles and guidelines
- UI/UX documentation and components
-
architecture/- System architecture and technical decisions- ARCHITECTURE.md - Overall system architecture
- Database schema and technical specifications
- Technical decision records
-
api/- API documentation- API endpoints and usage
- Integration guides
-
philosophy/- Project philosophy and principles- Core values and principles
- Decision-making frameworks
-
contributing/- Contributing guidelines- CONTRIBUTING.md - How to contribute
- CODE_OF_CONDUCT.md - Community guidelines
Documentation Standards
-
Dates: Each document should include:
- Creation date
- Last modified date
- Summary of changes
-
Format: All documentation should be in Markdown format with:
- Clear headings and structure
- Code blocks where appropriate
- Links to related documents
- Tables for structured data
-
Maintenance:
- Keep documentation up to date with code changes
- Review and update quarterly
- Remove obsolete information
- Add new sections as needed
Contributing to Documentation
- Follow the established directory structure
- Use consistent formatting
- Update dates when making changes
- Link to related documents
- Keep documentation focused and concise
For more details on contributing, see CONTRIBUTING.md.