Initial commit: Phase 1 scaffolding complete

- Root package.json with concurrently for dev server
- Client: Vite + React 18 with design tokens and proxy config
- Server: Express with CORS, multer (20MB), Sharp resize
- Upload endpoint with preview generation
- Dockerfile (multi-stage) and docker-compose.yml
- Canvas deferred to Phase 8 (export functionality)

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
Khalid A
2026-04-21 00:29:35 -05:00
commit 01702c397f
27 changed files with 5253 additions and 0 deletions

17
server/package.json Normal file
View File

@@ -0,0 +1,17 @@
{
"name": "apparel-designer-server",
"version": "1.0.0",
"type": "module",
"main": "index.js",
"scripts": {
"dev": "DYLD_INSERT_LIBRARIES='' node --watch index.js",
"start": "node index.js"
},
"dependencies": {
"express": "^4.18.2",
"cors": "^2.8.5",
"multer": "^1.4.5-lts.1",
"sharp": "^0.33.2",
"uuid": "^9.0.1"
}
}