CollabSphere is a realtime collaboration workspace platform. apps/web now runs as a real Next.js App Router application foundation on Vercel, while PRJ-02 feature stories continue to layer in navigation behavior, account flows, and product-complete UI on top of that platform. The backend stack remains NestJS, Hocuspocus, BullMQ, PostgreSQL, Redis, and local Docker-backed developer services.
- Node.js 20 LTS or newer
- pnpm 9.x or newer
- Docker Desktop or a compatible Docker runtime with Compose
- Git
The current repo state uses Docker Compose for local infrastructure and pnpm dev for app processes. That now starts the Next.js App Router web runtime in apps/web alongside the backend services.
- Install dependencies:
pnpm install- Copy the local infrastructure env template:
cp .env.example .env- Start required Docker services:
docker compose up -dOptional MinIO:
docker compose --profile minio up -d- Verify service health:
docker compose ps- Start the app processes:
pnpm devRequired local Docker services:
- PostgreSQL
- Redis
- MailHog
Optional local Docker service:
- MinIO
Notes:
- Docker Compose reads
.envfor local infrastructure port and credential overrides. - Keep app runtime-only overrides in
.env.local; do not commit it. - If a default port is already in use, update the matching
*_PORTvalue in.envbefore starting Compose. - MailHog UI is available at
http://localhost:8025with the default ports. - If
8025is already in use, setMAILHOG_UI_PORTin.env, then rerundocker compose up -d. - If the SMTP port
1025conflicts locally, setMAILHOG_SMTP_PORTin.envbefore restarting Compose.
See CONTRIBUTING.md for troubleshooting, validation checks, and contribution workflow details.