FlowX هو مشروع SaaS مبني بـ Next.js لإنشاء وتشغيل workflows (automation) مع integrations وAI providers.
النسخة الحالية تحتوي على:
- Landing page + auth modal
- Protected dashboard shell
- Templates gallery + workflow editor (React Flow)
- OAuth/API-key connections
- Workflow test execution engine
npm install
npm run devOpen: http://localhost:3000
npm run dev
npm run build
npm run start
npm run db:generate
npm run db:migrate
npm run db:pushالتوثيق الكامل موجود داخل docs/:
docs/README.md(start here)docs/01-setup-and-environment.mddocs/02-project-architecture.mddocs/03-codebase-map.mddocs/04-auth-oauth-and-connections.mddocs/05-workflow-builder-and-engine.mddocs/06-api-routes-reference.mddocs/07-database-and-security.mddocs/08-maintainer-playbook.mddocs/09-known-gaps-and-improvements.mddocs/10-troubleshooting-and-debugging.mddocs/11-testing-and-quality.mddocs/12-release-and-deployment-checklist.mddocs/templates.md(deep dive لمسار templates)
- Next.js 15 (App Router)
- React 19
- React Query
- Better Auth
- Drizzle ORM + PostgreSQL (Neon)
- Tailwind CSS v4 + Radix UI
- React Flow (
@xyflow/react)
- Auth/session logic:
src/lib/auth/auth.ts - Workflow engine:
src/lib/workflows/workflowsEngine.ts - Template data source:
src/lib/mock.ts - API routes:
src/app/api/**
لو هدفك تعديل أو إضافة features، ابدأ من docs/08-maintainer-playbook.md.