Production-ready collaborative workspace platform with 24 enterprise features, built with SvelteKit and modern web technologies.
git clone https://github.com/PythonTilk/notevault-svelte.git
cd notevault-svelte
./start.sh
Access: http://localhost:3000 ⢠Admin: admin@notevault.com / admin123 ⢠Monitoring: http://localhost:3002
git clone https://github.com/PythonTilk/notevault-svelte.git
cd notevault-svelte
npm install
# Start Redis and backend services
docker-compose -f docker-compose.dev.yml up -d
# In a new terminal
npm run dev
# Production-like environment
docker-compose up -d
# Development with hot reload
docker-compose -f docker-compose.dev.yml up -d
npm run dev # Frontend runs on host for hot reload
The application includes a complete monitoring solution:
Frontend: SvelteKit, TypeScript, Tailwind CSS
Backend: Node.js, Express, PostgreSQL/SQLite
Real-time: Socket.IO, Redis
Monitoring: Prometheus, Grafana, Node Exporter, cAdvisor
DevOps: Docker, GitHub Actions
ā
Multi-factor authentication (TOTP)
ā
OAuth providers (Google, GitHub, Discord)
ā
JWT-based session management
ā
Rate limiting and audit logging
ā
Live cursor tracking and user presence
ā
Collaborative text editing with Socket.IO
ā
Real-time document synchronization
ā
Typing indicators and user avatars
ā
Interactive charts (Line, Bar, Donut)
ā
Admin analytics dashboard
ā
Performance monitoring with Prometheus
ā
System health alerts and metrics
ā
Slack/Discord bot management
ā
Calendar sync (Google Calendar, Outlook)
ā
Webhook configuration (18+ event types)
ā
Cloud storage integration
ā
6 themes with dark/light modes
ā
4 responsive layouts
ā
Multi-language support (12 languages)
ā
WCAG 2.1 AA accessibility compliance
ā
Docker orchestration
ā
CI/CD pipeline with GitHub Actions
ā
Database backup and restoration
ā
GDPR compliance tools
Clone and Install Dependencies
git clone https://github.com/PythonTilk/notevault-svelte.git
cd notevault-svelte
npm install
cd server && npm install && cd ..
Configure Environment Variables
# Copy environment templates
cp .env.example .env.local
cp server/.env.example server/.env.local
# Edit with your local settings
# Key variables: JWT_SECRET, DATABASE_URL, REDIS_URL
Start Development Services
# Start Redis and backend services
docker-compose -f docker-compose.dev.yml up -d
# Start frontend dev server (new terminal)
npm run dev
# Start backend dev server (new terminal)
cd server && npm run dev
The collaboration features require WebSocket connections:
# Frontend
npm run dev # Start Vite dev server
npm run build # Build for production
npm run preview # Preview production build
npm run lint # Run ESLint
npm run test # Run Vitest unit tests
npm run test:e2e # Run Playwright E2E tests
# Backend
cd server
npm run dev # Start with nodemon (auto-reload)
npm run start # Start production server
npm run test # Run backend tests
npm run migrate # Run database migrations
# Reset database (development)
rm server/database/notevault.db
cd server && npm run migrate
# View database
sqlite3 server/database/notevault.db
.tables
.schema
# Start with monitoring + logging + backups
docker-compose -f docker-compose.production.yml --profile monitoring --profile logging --profile backup up -d
npm run test:load
npm install @playwright/test
npm run test:e2e
# Basic stack
docker-compose -f docker-compose.production.yml up -d
# With monitoring
docker-compose -f docker-compose.production.yml --profile monitoring up -d
# Stop all services
docker-compose -f docker-compose.production.yml down
Copy configuration template:
cp .env.production .env.production.local
# Edit with your production values
Key environment variables:
JWT_SECRET
- JWT signing keyDATABASE_URL
- PostgreSQL connectionREDIS_URL
- Redis connectionSMTP_*
- Email configurationGRAFANA_PASSWORD
- Grafana admin passwordSee DEPLOYMENT.md for comprehensive production deployment guide.
# Production deployment with zero downtime
ZERO_DOWNTIME=true ./deploy.sh production
MIT License - Built with ā¤ļø using SvelteKit and modern web technologies.