hemanthgadepalli/flowchart-maker
0
Flowchart Maker
Describe a process in plain text, generate a flowchart with AI, then drag, connect, and edit nodes directly on the canvas. Save and reload flowcharts from persistent storage.
Stack
- React 18 + TypeScript + Vite, @xyflow/react for the canvas, Tailwind CSS for styling
- Express server (serves the built frontend + JSON API)
- AI generation via the Hugging Face Inference router (
HF_TOKENsecret,HF_MODELoptional override) - Flowcharts persisted as JSON under
DATA_DIR(defaults to/dataif mounted, else./.persist)
Local development
npm install
npm run dev # Vite dev server on :5173, proxies /api to :7860
npm run start # in another terminal: Express API on :7860Environment variables
Authentication & roles
The app requires sign-in. A default super admin account is seeded on first boot:
- Username:
raja - Password:
chair
Roles:
- Super admin — full access, plus user management (create/delete accounts), activity logs, and visibility into flowcharts created by every user.
- Member — full editor access (generate, edit, save, export, templates), scoped to their own flowcharts.
Change the default password (or create new accounts) via the Admin panel after signing in.
