Skip to content

Pradyumn-cloud/DocSync

Repository files navigation

DocuSync

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.


Features

  • 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 Preview

Frontend Screenshot

Frontend Screenshot


Tech Stack

  • 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

Getting Started

  1. Install dependencies:
    pnpm install
  2. Set up environment variables:
    • Copy .env.example files to .env in each app and fill in your secrets
  3. Start PostgreSQL:
    • Use Docker Compose or your own instance
  4. Run database migrations:
    pnpm --filter @repo/db run db:migrate
  5. Build all apps:
    pnpm run build
  6. Start servers in production:
    cd apps/front && pnpm run start
    cd apps/http-server && pnpm run start
    cd apps/ws-server && pnpm run start

Author

By Pradyumn :)

About

Clone Application of Google Doc

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages