Live demo at https://3d-shirt.vercel.app/
This repository is a T-shirt customization application using threejs
and DALL-E 2 API allows users to customize their T-shirt using their favorite color, logo, and pattern, or ask AI to generate stunning and attractive logos and patterns for their shirt.
Techologies:
- Vite (react)
- OpenAI
- Express.js (node)
- Go Fiber
- threejs
- Customize shirt color
- Customize logo
- Customize pattern
- Generate logo using DALL-E 2
- Generate pattern using DALL-E 2
- Save your customized shirt to png
For the environment variables required, see env.sample
. Each server will need its own .env
file.
For Node.js server:
cd server
npm install
npm start
For Go server:
cd go-server
go mod tidy
go run main.go
The server will then listen on http://localhost:8080
cd client
npm install
npm run dev
The client will be available at http://localhost:5173