How tejaa7/jewellerypatterngen works
Luminaire is presented as a jewellery-sketch design platform, with account, gallery/history, and contact features around a sketch-upload-to-design workflow. The React upload component shows local image selection and a Generate button, while the README documents Pix2Pix generation and export; sampled code does not show that generation or export being wired to a model. The separate FastAPI endpoint only saves uploaded files, so its connection to the website is unclear. The Express excerpt supports account, history, image-saving, and email flows; unsampled route details are omitted.
Main entry points: App.jsx Page router · index.js Express API · upload.jsx Upload page · SketchtoImage.jsx Sketch upload UI
Components 14
Web experience
- Page router
WEBSITE/react/src/App.jsx - Upload page
WEBSITE/react/src/pages/Upload/upload.jsx
Design workflow
- Sketch upload UI
WEBSITE/react/src/components/Upload/SketchtoImage.jsx - Generation gallery
WEBSITE/react/src/components/Generation.jsx - File upload API
Model/api.py
Accounts and history
- Sign-up page
WEBSITE/react/src/pages/Signup/signup.jsx - Login page
WEBSITE/react/src/pages/Login/login.jsx - Password reset page
WEBSITE/react/src/pages/Forgotps/Forgot.jsx - History page
WEBSITE/react/src/pages/History/History.jsx
Backend services
- Express API
WEBSITE/api/index.js - User model
WEBSITE/api/Schema.js - User database
WEBSITE/api/Schema.js
Other components
- Designer
- Email service
Connections 16
- Designer → Page router: browses
- Page router → Upload page: routes to
- Upload page → Sketch upload UI: presents
- Sketch upload UI → Generation gallery: shows generations
- Designer → File upload API: uploads file
- Page router → Sign-up page: routes to
- Page router → Login page: routes to
- Page router → Password reset page: routes to
- Page router → History page: routes to
- Sign-up page → Express API: posts signup
- Login page → Express API: posts login
- Password reset page → Express API: requests reset
- History page → Express API: requests history
- Express API → User model: queries
- User model → User database: persists users
- Express API → Email service: sends email