A modern Notion-style document workspace with advanced AI capabilities for smarter document management and knowledge organization.
- 📝 Rich Text Editor with Markdown Support
- 📁 Hierarchical Document Organization
- 👥 Multi-User Workspaces
- 🎨 Customizable UI with Dark/Light Mode
-
🤖 AI Auto-Linker
- Automatically suggests links to related documents while writing
- Creates a connected knowledge base
- Improves document discoverability
-
🔍 Knowledge Graph Builder
- Visualizes document relationships
- Helps understand content connections
- Interactive graph navigation
-
🏷️ Auto Tag Generator
- AI-powered semantic tag suggestions
- Improves document categorization
- Enhanced search capabilities
-
❓ Workspace Question Answering
- Natural language queries across workspace
- Intelligent document context understanding
- Quick information retrieval
- Framework: React with Vite
- UI Library: Material-UI (MUI)
- Rich Text Editor: TipTap
- State Management: Zustand
- Styling: TailwindCSS + MUI Theming
- Runtime: Node.js
- Framework: Express.js
- Database: MongoDB
- Authentication: JWT + Passport (Google OAuth)
- File Storage: Local/Cloud Storage
- AI Integration: Google's Generative AI
- Node.js 16+
- MongoDB
- Google Cloud Account (for AI features)
- Git
-
Clone the Repository
git clone <repository-url> cd enterprise-notion
-
Backend Setup
cd server npm install # Configure environment variables cp .env.example .env
Required environment variables:
PORT=4567 MONGO_URI=your_mongodb_uri JWT_SECRET=your_jwt_secret GOOGLE_CLIENT_ID=your_google_client_id GOOGLE_CLIENT_SECRET=your_google_client_secret GEMINI_API_KEY=your_gemini_api_key
-
Frontend Setup
cd ../client npm install # Configure environment variables cp .env.example .env
Required environment variables:
VITE_FRONTEND_URL=http://localhost:5173 VITE_BACKEND_URL=http://localhost:4567 VITE_GOOGLE_CLIENT_ID=your_google_client_id
-
Start Development Servers
Backend:
cd server npm run devFrontend:
cd client npm run devThe application will be available at:
- Frontend: http://localhost:5173
- Backend: http://localhost:8080
enterprise-notion/
├── client/ # Frontend React application
│ ├── src/
│ │ ├── components/ # Reusable components
│ │ │ ├── editor/ # Rich text editor components
│ │ │ ├── workspace/ # Workspace related components
│ │ │ └── ui/ # Common UI components
│ │ ├── pages/ # Page components
│ │ ├── stores/ # Zustand state stores
│ │ ├── hooks/ # Custom React hooks
│ │ └── utils/ # Utility functions
│ └── package.json
└── server/ # Backend Express application
├── src/
│ ├── config/ # Configuration files
│ ├── controllers/ # Route controllers
│ ├── models/ # MongoDB models
│ ├── routes/ # API routes
│ └── services/ # Business logic
└── package.json
- Analyzes document content in real-time
- Uses semantic search to find related documents
- Suggests contextual links while writing
- Builds document relationship graph
- Uses AI to identify connections
- Interactive visualization with filtering
- Extracts key topics from content
- Generates semantic tags automatically
- Maintains tag consistency
- Indexes workspace content
- Processes natural language queries
- Returns relevant document excerpts
- Fork the repository
- Create a feature branch
- Commit your changes
- Push to the branch
- Open a Pull Request
This project is licensed under the ISC License.
- Shivam Chaudhary
- TipTap for the rich text editor
- Material-UI for the component library
- Google's Generative AI for AI features