- Backend: Express + TypeORM + PostgreSQL, JWT + OTP auth - Frontend: React + Vite + Tailwind, 4 pages (Home/Login/Orders/404) - Docker Compose: PostgreSQL 15 on port 5434 - Tests: 16 tests passing (API + Frontend) - ai_state: rules.md, INSTRUCTIONS.md, session tasks - Examples: brand book PDF, logos, page mockups
26 lines
499 B
Batchfile
26 lines
499 B
Batchfile
@echo off
|
|
REM Clear npm cache
|
|
echo Clearing npm cache...
|
|
npm cache clean --force
|
|
|
|
REM Go to frontend directory
|
|
cd /d "d:\Nutshell\Site Aggreagator\frontend"
|
|
|
|
REM Delete node_modules if exists
|
|
if exist node_modules (
|
|
echo Deleting node_modules...
|
|
rmdir /s /q node_modules
|
|
)
|
|
|
|
REM Delete package-lock.json if exists
|
|
if exist package-lock.json (
|
|
echo Deleting package-lock.json...
|
|
del package-lock.json
|
|
)
|
|
|
|
REM Install dependencies
|
|
echo Installing dependencies...
|
|
npm install
|
|
|
|
echo Done!
|