This repository contains both the frontend and backend code for Belinda's Closet application in a monorepo structure.
belindas-closet-fullstack/
├── belindas-closet-nextjs/ # Frontend (Next.js)
└── belindas-closet-nestjs/ # Backend (Nest.js)
- Node.js (v18+ for backend, v20+ for frontend)
- npm
Install all dependencies for both projects from the root:
npm installYou need to run the frontend and backend in separate terminal windows or in a split terminal:
Terminal 1 - Frontend (NextJS):
# Change to frontend directory
cd belindas-closet-nextjs
# Start frontend server (runs on http://localhost:3000)
npm run devTerminal 2 - Backend (NestJS):
# Change to backend directory
cd belindas-closet-nestjs
# Start backend server (runs on http://localhost:3000)
npm run start:devBuild both applications from root directory of the project:
npm run buildOr build them individually:
# Frontend only
cd belindas-closet-nesxjs
npm run build
# Backend only
cd belindas-closet-nestjs
npm run buildRun tests for both applications from the root directory of the project:
npm run testOr test them individually:
# Frontend only
cd belindas-closet-nesxjs
npm run test
# Backend only
cd belindas-closet-nestjs
npm run testEach workspace has its own environment variables. Please refer to the individual workspace READMEs for details.
For more specific information about each application, please refer to their respective README files: