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:
16
client/vite.config.js
Normal file
16
client/vite.config.js
Normal file
@@ -0,0 +1,16 @@
|
||||
import { defineConfig } from 'vite'
|
||||
import react from '@vitejs/plugin-react'
|
||||
|
||||
// https://vite.dev/config/
|
||||
export default defineConfig({
|
||||
plugins: [react()],
|
||||
server: {
|
||||
port: 3000,
|
||||
proxy: {
|
||||
'/api': {
|
||||
target: 'http://localhost:3001',
|
||||
changeOrigin: true
|
||||
}
|
||||
}
|
||||
}
|
||||
})
|
||||
Reference in New Issue
Block a user