Repository: https://github.com/DevDebjit83/VeriFy-AI
Your repository contains:
- β Frontend (React + Vite + TypeScript)
- β Backend (FastAPI + Python with 5 detection models)
- β Chrome Extension (Manifest v3 with advanced features)
- β Complete Documentation (60+ MD files)
- β API Integration (Tavily, Gemini)
- β Multi-language Support (English, Hindi, Bengali)
-
Install Vercel CLI:
npm install -g vercel -
Build your project:
npm run build
-
Deploy to Vercel:
vercel --prod- Follow prompts
- Choose
publicas output directory - Auto-detects Vite configuration
-
Or use Vercel Dashboard:
- Go to vercel.com
- Click "New Project"
- Import from GitHub:
DevDebjit83/VeriFy-AI - Auto-deploys on every push to
main
-
Go to render.com
-
Create New Web Service:
- Connect GitHub repository
- Select
DevDebjit83/VeriFy-AI - Root Directory:
backend - Build Command:
pip install -r requirements_ai.txt - Start Command:
uvicorn ai_server_sota:app --host 0.0.0.0 --port $PORT
-
Add Environment Variables:
TAVILY_API_KEY=your_tavily_key GEMINI_API_KEY=your_gemini_key HUGGINGFACE_TOKEN=your_huggingface_token -
Deploy - Render will build and start your backend
-
Update Frontend API URL:
- Edit
src/config/api.ts - Change
API_BASE_URLto your Render URL
- Edit
-
Go to railway.app
-
Deploy from GitHub:
- Click "New Project"
- Select "Deploy from GitHub repo"
- Choose
DevDebjit83/VeriFy-AI
-
Add Services:
- Frontend Service:
- Root:
/ - Build:
npm install && npm run build - Start:
npm run preview
- Root:
- Backend Service:
- Root:
/backend - Build:
pip install -r requirements_ai.txt - Start:
uvicorn ai_server_sota:app --host 0.0.0.0 --port $PORT
- Root:
- Frontend Service:
-
Environment Variables: Add API keys to backend service
-
Go to netlify.com
-
New Site from Git:
- Connect to GitHub
- Select
DevDebjit83/VeriFy-AI - Build Command:
npm run build - Publish Directory:
dist
-
Auto-deploys on every push
-
Install Heroku CLI:
winget install Heroku.HerokuCLI
-
Login:
heroku login
-
Create Heroku App:
cd backend heroku create verify-backend -
Add Python Buildpack:
heroku buildpacks:add heroku/python -
Set Environment Variables:
heroku config:set TAVILY_API_KEY=your_key heroku config:set GEMINI_API_KEY=your_key heroku config:set HUGGINGFACE_TOKEN=your_token
-
Deploy:
git push heroku main
Your project includes docker-compose.yml:
# Build and run
docker-compose up -d
# Frontend: http://localhost:3000
# Backend: http://localhost:8000Deploy to:
- AWS ECS/EKS
- Google Cloud Run
- Azure Container Instances
- DigitalOcean App Platform
Create .env files (not tracked by git):
Root .env:
VITE_API_URL=https://your-backend-url.comBackend .env:
TAVILY_API_KEY=your_tavily_api_key
GEMINI_API_KEY=your_gemini_api_key
HUGGINGFACE_TOKEN=your_huggingface_token
PORT=8000Edit src/config/api.ts:
export const API_BASE_URL = import.meta.env.VITE_API_URL || 'https://your-backend-url.com';# Frontend
npm run build
# Backend (test locally)
cd backend
pip install -r requirements_ai.txt
uvicorn ai_server_sota:app --host 0.0.0.0 --port 8000# Serve production build
npm run preview
# Visit http://localhost:4173-
Package Extension:
npm run package-extensionCreates
public/verify-extension.zip -
Create Developer Account:
- Go to Chrome Web Store Developer Dashboard
- Pay $5 one-time registration fee
-
Upload Extension:
- Click "New Item"
- Upload
verify-extension.zip - Fill in store listing details
- Submit for review (2-3 days)
-
Users Install with One Click from Chrome Web Store
Users download ZIP from your website:
- Works immediately
- No review process
- Perfect for internal use
- Manual installation required
- Code Splitting: Already configured in Vite
- Lazy Loading: Components load on-demand
- Image Optimization: Use WebP format
- CDN: Vercel/Netlify provide global CDN
- Model Caching: Models load once on startup
- API Rate Limiting: Implement for production
- Database: Add PostgreSQL for user data
- Redis: Cache frequent requests
- β
Never commit
.envfiles (already in.gitignore) - β Rotate API keys after deployment
- β Enable CORS only for your frontend domain
- β Use HTTPS (auto with Vercel/Netlify/Render)
- β Rate limiting on API endpoints
- β Input validation on all endpoints
Edit backend/ai_server_sota.py:
app.add_middleware(
CORSMiddleware,
allow_origins=["https://your-frontend-url.com"], # Update this
allow_credentials=True,
allow_methods=["*"],
allow_headers=["*"],
)-
Frontend Analytics:
- Google Analytics
- Vercel Analytics (built-in)
- Plausible Analytics (privacy-friendly)
-
Backend Monitoring:
- Sentry (error tracking)
- Datadog (performance monitoring)
- LogRocket (session replay)
-
Uptime Monitoring:
- UptimeRobot (free)
- Pingdom
- StatusCake
npm run build
vercel --prod- Connect GitHub
- Auto-detects Python
- Add environment variables
- Deploy
# Commit changes
git add .
git commit -m "Update: description"
git push origin main
# Auto-deploys to Vercel/Netlify/RenderAfter deploying:
- β Test all features in production
- β Monitor logs for errors
- β Set up domain (optional)
- β Enable SSL (auto with most platforms)
- β Submit to Chrome Web Store (optional)
- β Share with users! π
Best for beginners:
- Frontend: Vercel (free, unlimited bandwidth)
- Backend: Render (free, 750 hours/month)
- Total Cost: $0/month
- Performance: Excellent
- Auto-deploy: On every push
Need help deploying?
- π§ Email: devdebjit83@gmail.com
- π¬ GitHub Issues: https://github.com/DevDebjit83/VeriFy-AI/issues
- π Docs: Check repository README
- Code pushed to GitHub
- API keys stored securely
- Frontend built successfully (
npm run build) - Backend tested locally
- CORS configured for production domain
- Environment variables set on hosting platform
- Frontend deployed (Vercel/Netlify)
- Backend deployed (Render/Railway/Heroku)
- API URL updated in frontend
- All features tested in production
- Domain configured (optional)
- SSL enabled
- Chrome extension packaged
- Monitoring set up
- π LIVE AND READY!
Your production-ready VeriFy application is now ready to deploy! π
Choose your deployment platform above and follow the steps. Most platforms offer one-click deployment from GitHub!