A modern cloud notebook application with GitHub-inspired design.
- 🔐 Secure Authentication - Powered by better-auth with email/password
- 📝 Notes Management - Create, edit, delete, and organize your notes
- 🔗 Sharing - Share notes publicly with a link
- 🎨 GitHub-style UI - Modern dark theme with Octicons
- 📱 Responsive - Works on desktop and mobile
- ⚡ Fast - Uses Bun for blazing-fast performance
- Frontend: React 19, Vite 6, React Router 7
- Backend: Express.js 5
- Database: MongoDB (native driver)
- Authentication: better-auth
- Icons: GitHub Octicons
- Node.js 18+ or Bun 1.0+
- MongoDB database (local or Atlas)
# Clone the repository
git clone https://github.com/innovatorved/notebook.git
cd Notebook
# Install dependencies
bun install
# Create environment file
cp .env.example .env
# Edit .env with your MongoDB URI and secrets# Start API server
bun run dev # or: bun run bun:dev
# In another terminal, start frontend
bun run dev:frontend # or: bun run bun:dev:frontend
# Open http://localhost:5173# Build frontend
bun run build # or: bun run bun:build
# Start production server
bun start # or: bun run bun:start
# Open http://localhost:3000| Task | bun |
|---|---|
| Dev server | bun run bun:dev |
| Dev frontend | bun run bun:dev:frontend |
| Build | bun run bun:build |
| Production | bun run bun:start |
| Export DB | bun run bun:export-db |
| Migrate users | bun run bun:migrate-users |
bun run bun:export-db
# Exports all collections to scripts/backups/# Always backup first!
bun run bun:export-db