A drag-and-drop website builder: users design a page visually, can ask an AI to generate a full layout from a text description, upload their own images, and publish the result as a live website.
| Folder | What it is |
|---|---|
DragCanvas-prj/DragCanvas |
Node.js / Express server + React client — start here |
DragCanvas-prj/python-reports |
Python FastAPI microservice: admin statistics charts and QR codes |
The full documentation — what the system does, the technologies, the API
endpoints and how to run everything — is in
DragCanvas-prj/DragCanvas/README.md.
Deploying it — which variable belongs on which service, and what to check once
it is live — is in DEPLOY.md.
main holds the current code and is what the deployed site runs from. The
feature/microservices-refactor branch was merged into it and is kept only as
history.
cd DragCanvas-prj/DragCanvas
npm install
cp .env.example .env # then fill in the values
npm start # server -> http://localhost:3001
npm run dev # client -> http://localhost:5173React client (Vite, Craft.js editor)
│
├── Node.js / Express ── PostgreSQL (Supabase)
│ ├── Cloudinary uploaded images
│ ├── ZhipuAI GLM AI layout generation
│ ├── Pexels stock photos and videos
│ └── Netlify API publishing a project as a live site
│
└── Python FastAPI ── the same PostgreSQL, read-only reports
└── matplotlib charts for the admin panel, QR codes