Real AI-powered foot analysis with medical-grade precision π§
- AI-Powered Analysis: Advanced foot analysis using OpenAI GPT-4 Vision
- Medical Grade: Professional-grade foot assessment and recommendations
- Real-time Processing: Instant analysis with detailed insights
- Privacy First: Secure, private, and GDPR-compliant
- Free Plan: 3 AI analyses per month
- Pro Plan: 50 AI analyses per month ($9/month)
- Real-time Usage Tracking: Monitor your analysis usage
- Seamless Upgrades: Easy subscription management
- Overall Score: Comprehensive foot health assessment
- Detailed Metrics: Skin, nail, shape, symmetry, and cleanliness scores
- Issue Detection: Identify potential foot problems
- Improvement Tips: Personalized recommendations
- Progress Tracking: Monitor improvements over time
Visit: https://footrateai.vercel.app
- React 18 - Modern UI framework
- TypeScript - Type-safe development
- Vite - Fast build tool
- Tailwind CSS - Utility-first CSS framework
- Lucide React - Beautiful icons
- Supabase - Backend-as-a-Service
- PostgreSQL - Reliable database
- Row Level Security (RLS) - Data protection
- Real-time subscriptions - Live updates
- OpenAI GPT-4 Vision - Advanced image analysis
- Dodo Payment - Payment processing
- Vercel - Deployment platform
- ESLint - Code quality
- Prettier - Code formatting
- Husky - Git hooks
- Node.js 18+
- npm or yarn
- Supabase account
- OpenAI API key
- Dodo Payment account (for payments)
-
Clone the repository
git clone https://github.com/mintukumar0000/footrate-ai.git cd footrate-ai -
Install dependencies
npm install
-
Set up environment variables
cp .env.example .env.local
Fill in your environment variables:
# Supabase VITE_SUPABASE_URL=your_supabase_url VITE_SUPABASE_ANON_KEY=your_supabase_anon_key SUPABASE_SERVICE_ROLE_KEY=your_service_role_key # OpenAI VITE_OPENAI_API_KEY=your_openai_api_key # Dodo Payment DODO_SECRET_KEY=your_dodo_secret_key DODO_PUBLIC_KEY=your_dodo_public_key DODO_PRODUCT_ID=your_dodo_product_id DODO_WEBHOOK_SECRET=your_webhook_secret # Site URL SITE_URL=https://your-domain.vercel.app
-
Set up Supabase database
- Run the SQL from
database-schema.sqlin your Supabase SQL Editor - Configure authentication settings
- Set up email templates
- Run the SQL from
-
Start development server
npm run dev
-
Deploy to Vercel
npm run build vercel --prod
The application uses the following main tables:
- Manages user subscription tiers (free/pro)
- Tracks usage limits and current usage
- Stores payment information
- Stores detailed analysis results
- Includes scores for different aspects
- Tracks improvement recommendations
- Audit trail for subscription changes
- Payment history and cancellations
- Create a new Supabase project
- Run the database schema
- Configure authentication
- Set up email templates
- Configure RLS policies
- Get API key from OpenAI
- Configure GPT-4 Vision access
- Set usage limits
- Create Dodo Payment account
- Configure webhooks
- Set up product pricing
- Test payment flow
We welcome contributions! Please see our Contributing Guide for details.
- Fork the repository
- Create a feature branch (
git checkout -b feature/amazing-feature) - Commit your changes (
git commit -m 'Add amazing feature') - Push to the branch (
git push origin feature/amazing-feature) - Open a Pull Request
- Follow TypeScript best practices
- Write meaningful commit messages
- Add tests for new features
- Update documentation
This project is licensed under the MIT License - see the LICENSE file for details.
- OpenAI for providing the GPT-4 Vision API
- Supabase for the excellent backend platform
- Vercel for seamless deployment
- Dodo Payment for payment processing
- Tailwind CSS for the beautiful styling framework
- Email: heyquixy@gmail.com
- Twitter: @Mintu_aa
- LinkedIn: Mintu Kumar
- GitHub: @mintukumar0000
Made with β€οΈ by Mintu Kumar
Shaping the future with AIβwhere imagination meets innovation. π