Furniture, manufacturing and retail
CraftLin: AI custom furniture with a 3D showroom kiosk
CraftLin lets a buyer customise furniture step by step, see an AI-generated render of it, and send the request to manufacturers, who bid and quote. A 3D showroom kiosk shows configurable pieces with live pricing, and each furniture business runs as its own tenant. It is at MVP stage.
IllustrationThe problem
Why it exists.
Buyers cannot see custom furniture before they commit to it, and getting a quote from a manufacturer is slow.
The product
What it does.
Step-by-step customisation
Choose a category, then configure the piece through guided steps and options.
AI render
A photorealistic image of the configured piece, generated in the background and delivered to the app when it is ready.
3D showroom kiosk
A touchscreen configurator that shows real 3D models, with materials mapped to each part and live pricing.
Manufacturer bids and quotes
Requests go to manufacturers, who bid and send quotations.
Orders and payments
Razorpay payments, PDF invoices, an order status history and live updates.
A tenant per furniture business
Each business has its own materials, categories, pricing rules and portal.
Engineering
The hard parts, and how we solved them.
- 01
Switchable image provider
Renders come from Google Gemini or OpenAI’s gpt-image-1, behind one interface. An admin chooses the active provider, and its API key is stored encrypted. Each request retries with backoff, waiting longer on rate limits.
- 02
Every render is measured
Each generated image records the provider, model, time taken and an estimated cost, so image spend is visible per render.
- 03
AI work off the request path
Renders run on a dedicated Celery queue with its own workers, separate from email, notifications and invoices. The result is pushed to the app over a WebSocket, so it never has to poll.
- 04
3D from real models
The kiosk renders GLB furniture models in the browser with three.js and React Three Fiber. A mesh-parts catalogue maps each part of a model to the materials it can take.
- 05
Images ready for mobile
Generated images are resized to at most 1,024 pixels, compressed and given a 400-pixel thumbnail before they are uploaded to Cloudinary.
Architecture
How it fits together.
Clients
- Mobile app: Expo 51
- Showroom kiosk: three.js, R3F
- Admin: Next.js 16
- Website: Next.js 16
API
- nginx: Four subdomains
- FastAPI: 109 endpoints
- WebSockets: Order, render updates
Workers
- AI render worker: Celery, own queue
- Worker: Email, push, invoices
- Scheduler: Celery beat
AI and services
- Google Gemini: Image generation
- OpenAI: gpt-image-1
- Razorpay: Payments
- Firebase: Push
- SendGrid: Email
Data
- PostgreSQL: 27 models
- Redis: Job queue
- Cloudinary: Renders, thumbnails
Connections
- Mobile app → nginx: HTTPS
- Showroom kiosk → nginx: HTTPS
- Admin → nginx: HTTPS
- Website → nginx: HTTPS
- nginx → FastAPI: API requests
- FastAPI → WebSockets: Live updates to the apps
- FastAPI → PostgreSQL: All business data
- FastAPI → Redis: Queues renders, email and notifications
- FastAPI → Razorpay: Payment verification
- Scheduler → Redis: Scheduled jobs
- AI render worker → Google Gemini: When Gemini is active
- AI render worker → OpenAI: When OpenAI is active
- AI render worker → Cloudinary: Optimised render and thumbnail
- Worker → Firebase: Push notifications
- Worker → SendGrid: Email
Technology
The stack, layer by layer.
Each technology with the job it does in this product.
Frontend
- Next.js 16
- The showroom kiosk, the admin and the website.
- three.js
- 3D rendering in the kiosk.
- React Three Fiber
- React bindings for the kiosk’s 3D scene, with drei helpers.
- Zustand
- State in the kiosk and admin.
- Tailwind CSS
- Styling across the web surfaces.
Mobile
- Expo
- The customer and manufacturer app (Expo 51, Expo Router).
- TanStack Query
- Server data in the app.
- NativeWind
- Tailwind styling in React Native.
Backend
- FastAPI
- The API: 109 endpoints, including WebSockets for order and render updates.
- SQLAlchemy
- 27 data models, with 21 Alembic migrations.
- Celery
- Background workers: one pool for AI renders, one for email, push and invoices, and a scheduler.
Data
- PostgreSQL
- Primary database (PostgreSQL 15).
- Redis
- Job queue for the Celery workers.
- Cloudinary
- Optimised renders and thumbnails.
AI
- Google Gemini
- Image generation, when selected as the active provider.
- OpenAI
- Image generation with gpt-image-1, when selected as the active provider.
Integrations
- Razorpay
- Payments, on the app and verified by the API.
- Firebase Cloud Messaging
- Push notifications.
- SendGrid
- Transactional email.
Infrastructure
- Docker
- Runs the API, three worker services, PostgreSQL and the three web apps.
- nginx
- Serves the four subdomains: website, kiosk, admin and API.
- GitHub Actions
- Builds and deploys the API, kiosk, admin, website and mobile app.
In numbers
Facts about the build.
- front ends: mobile, kiosk, admin, website
- 4
- API endpoints
- 109
- data models
- 27
- switchable image providers
- 2
Building something like CraftLin?
Tell us what you are working on. A person from Dessot will reply.

