Welcome to AquaDex! A cloud-native Next.js application designed to be the ultimate toolkit for aquarium enthusiasts.
# Install dependencies
npm install
# Set up environment variables
cp .env.example .env.local
# Edit .env.local with your actual credentials
# Set up database (see docs/NEON_SETUP.md)
npx prisma migrate dev
# Run development server
npm run devVisit http://localhost:9002 to see the application.
- Project Constitution - Core principles and governance
- Project Documentation - Complete feature overview
- Neon Database Setup - Cloud database configuration
- Master Project Plan - Implementation roadmap
- AI Agent Guide - For AI-assisted development
- Framework: Next.js 15 with App Router
- Language: TypeScript (strict mode)
- Database: Neon PostgreSQL (serverless)
- Auth: Firebase Authentication
- Storage: Firebase Storage
- AI: Genkit with Google AI
- Styling: Tailwind CSS + Shadcn UI
- Forms: React Hook Form + Zod
- 🧪 Water Testing - AI-powered test strip analysis
- 🐠 Aquarium Management - Track tanks, parameters, and maintenance
- 🔍 Smart Finders - AI-assisted product discovery (fish, plants, equipment)
- 🛒 Marketplace - Community buying and selling
- 💬 Q&A Forum - Community support and discussions
- 📊 History Tracking - Monitor trends over time
- 🔔 Reminders - Maintenance notifications
src/
├── app/ # Next.js App Router pages
├── components/ # React components by feature
├── ai/flows/ # Genkit AI workflows
├── lib/ # Utilities and server actions
├── types/ # TypeScript type definitions
└── hooks/ # Custom React hooks
This project follows strict architectural principles defined in our constitution:
- Component-First - Modular, reusable React components
- Cloud-Native - No localhost dependencies, fully browser-testable
- User Story Prioritization - P1/P2/P3 for focused delivery
- AI-Enhanced - Genkit flows exposed via API routes
- Type Safety - Strict TypeScript + Zod validation
- Mobile-First - Responsive design with Tailwind
npm run dev # Start Next.js dev server (port 9002)
npm run genkit:dev # Start Genkit dev UI
npm run build # Build for production
npm run start # Start production server
npm run lint # Run ESLint
npm run typecheck # Check TypeScript types# Run comprehensive application audit
./scripts/debug-test.sh
# The debug test checks:
# - Environment setup
# - File integrity
# - Security vulnerabilities
# - TypeScript type checking
# - Build status
# - Dependencies
# - Source code analysis
# - Configuration files
# - Documentation
# Results are saved to debug_test_results.txt
# See docs/AUDIT_REPORT.md for detailed findingsRequired environment variables (see .env.example):
DATABASE_URL- Neon PostgreSQL connection stringNEXT_PUBLIC_FIREBASE_*- Firebase client configurationFIREBASE_ADMIN_*- Firebase admin credentialsGOOGLE_GENAI_API_KEY- Google AI API key
- Review the Project Constitution
- Check Frontend Todo for available tasks
- Follow the feature development workflow in the constitution
- Ensure all quality gates pass before submitting
[Add your license information]
- Check documentation
- Review troubleshooting guide
- Open an issue for bugs or feature requests