Files
orangecat/tests/unit/docs/getting-started
Your Name 5cd7495b78 feat: Complete entity relationship system - 11 APIs connecting profiles, organizations, campaigns, projects
- Added intelligent onboarding with AI analysis and personalized recommendations
- Implemented organization creation with founder membership and role-based access
- Built 11 production APIs for full entity relationships:
  * Profile endpoints: campaigns, projects, organizations
  * Organization endpoints: campaigns, projects, member management
  * Project endpoints: campaigns, add/remove campaigns
  * Campaign endpoints: stats and enhanced detail
- Enhanced UX with guest-first campaign creation flow
- Fixed sidebar naming consistency (Campaigns vs Fundraising)
- Improved onboarding with interactive category cards and clean animations
- Added comprehensive documentation and integration guides
- Implemented proper JSX structure and TypeScript fixes
2025-10-18 09:44:02 +02:00
..

🚀 Getting Started with OrangeCat

Welcome to the OrangeCat Bitcoin Crowdfunding Platform! This guide will help you get up and running with development, deployment, and usage.

📋 Prerequisites

Before you begin, ensure you have:

  • Node.js 18+ - Download here
  • npm or yarn - Package manager
  • Git - Version control
  • Supabase Account - Database and authentication

⚡ Quick Setup

1. Clone the Repository

git clone <repository-url>
cd orangecat

2. Install Dependencies

npm install

3. Set up Environment Variables

cp config/production.env.template .env.local
# Edit .env.local with your Supabase credentials

4. Set up Supabase

# Install Supabase CLI
npm install -g supabase

# Link your project
supabase link --project-ref your-project-ref

# Apply migrations
supabase db reset

5. Start Development Server

npm run dev

Visit http://localhost:3000 to see your app!

🔧 Development Workflow

Code Structure

src/
├── app/           # Next.js App Router pages
├── components/    # Reusable UI components
├── services/      # Business logic and API calls
├── types/         # TypeScript type definitions
├── utils/         # Utility functions
└── lib/          # Core libraries and configurations

Key Commands

# Development
npm run dev          # Start dev server
npm run build        # Build for production
npm run start        # Start production server

# Testing
npm test             # Run all tests
npm run test:watch   # Watch mode
npm run test:coverage # Generate coverage report

# Database
supabase db reset    # Reset database
supabase db push     # Apply migrations
supabase studio      # Open Supabase dashboard

# Code Quality
npm run lint         # Run ESLint
npm run type-check   # Run TypeScript checks

📚 Next Steps

🆘 Troubleshooting

Common Issues

Database connection errors:

  • Check your .env.local file has correct Supabase credentials
  • Ensure your Supabase project is active
  • Run supabase status to check connection

Build errors:

  • Run npm run type-check to identify TypeScript issues
  • Check for missing dependencies with npm install
  • Clear .next folder and rebuild

Test failures:

  • Ensure database is properly seeded
  • Check test environment variables
  • Run tests with --verbose for detailed output

📞 Getting Help

  • Documentation: Browse this /docs directory
  • Issues: Check existing GitHub issues
  • Discussions: Use GitHub Discussions for questions
  • Chat: Join our development Slack/Discord

Ready to contribute? Check out our Contributing Guide!