A collaborative web application inspired by Notion and Google Docs. Create, edit, and share documents in real-time with rich text editing and multi-user support.
- Real-time collaborative editing (Google Docs style)
- Rich text editor (TipTap, Markdown, images, lists, code blocks)
- Document sharing with permission control (view/edit)
- User authentication (JWT)
- Dashboard for managing documents
- Live presence: see active users in a document
- Responsive, modern UI (Next.js, Tailwind CSS)
- WebSocket-powered live updates
- Secure backend (Express, Prisma, PostgreSQL)
- Frontend: Next.js, React, TipTap, Tailwind CSS, ShadCN
- Backend: Express.js, Socket.io, Prisma ORM
- Database: PostgreSQL
- Monorepo: Turborepo, pnpm workspaces
- Auth: JWT
- Docker: Ready for cloud deployment
- Install dependencies:
pnpm install
- Set up environment variables:
- Copy
.env.examplefiles to.envin each app and fill in your secrets
- Copy
- Start PostgreSQL:
- Use Docker Compose or your own instance
- Run database migrations:
pnpm --filter @repo/db run db:migrate
- Build all apps:
pnpm run build
- Start servers in production:
cd apps/front && pnpm run start cd apps/http-server && pnpm run start cd apps/ws-server && pnpm run start
By Pradyumn :)

