A powerful visual workflow automation platform built with Next.js, Prisma, and PostgreSQL that lets you create and schedule automated workflows with an intuitive drag-and-drop interface.
- 🎨 Visual Flow Builder - Intuitive drag-and-drop interface to design workflows
- ⏰ Scheduling - Schedule workflows with cron expressions
- 🔐 Authentication - Secure GitHub OAuth integration
- 📊 Project Management - Create and manage multiple workflow projects
- 🌐 Real-time Updates - Live workflow execution status
- 🎯 Custom Nodes - Extensible node system for various actions
| Technology | Purpose |
|---|---|
| Next.js 13+ | Frontend & Backend Framework |
| PostgreSQL | Database |
| Prisma | ORM & Database Management |
| NextAuth.js | Authentication |
| React Flow | Visual Flow Editor |
| TypeScript | Type Safety |
| Supabase | Database Hosting |
The Flow Builder application follows a modern full-stack architecture:
- Next.js Pages & Components: Handles the user interface and client-side logic
- React Flow Integration: Powers the visual workflow builder interface
- Authentication UI: Manages login/signup flows via GitHub OAuth
- Project Management:
/api/projectsendpoints for CRUD operations - Authentication: NextAuth.js integration with GitHub provider
- Middleware: Route protection and project access validation
- PostgreSQL Database: Hosted on Supabase
- Prisma ORM: Handles database operations with type safety
- Schema Design:
- User model with OAuth account linking
- Project model for workflow storage
- ScheduleConfig model for workflow timing
- Session management for authentication
- User authenticates via GitHub OAuth
- Protected routes ensure authenticated access
- Frontend communicates with API routes
- API routes interact with database via Prisma
- Real-time updates flow back to the UI
|
Ashish Kumar |