@echo off
REM Create backend directory structure
echo Creating backend directory structure...
mkdir backend\src\routes 2>nul

REM Create package.json
(
echo {
echo   "name": "photobooth-backend",
echo   "version": "1.0.0",
echo   "type": "module",
echo   "main": "src/server.js",
echo   "scripts": {
echo     "start": "node src/server.js",
echo     "dev": "node --watch src/server.js"
echo   },
echo   "keywords": ["photobooth", "express", "mysql"],
echo   "author": "",
echo   "license": "MIT",
echo   "dependencies": {
echo     "express": "^4.18.2",
echo     "cors": "^2.8.5",
echo     "dotenv": "^16.3.1",
echo     "mysql2": "^3.6.5",
echo     "jsonwebtoken": "^9.1.0",
echo     "bcryptjs": "^2.4.3",
echo     "uuid": "^9.0.1",
echo     "express-async-errors": "^3.1.1",
echo     "multer": "^1.4.5-lts.1"
echo   },
echo   "devDependencies": {}
echo }
) > backend\package.json

echo.
echo Backend structure created. Now run: cd backend && npm install
