Skip to content

🧠 A secure, end-to-end encrypted diary and to-do web app built with React, Node.js, and MySQL β€” your thoughts, your key, your privacy.

Notifications You must be signed in to change notification settings

jadhav045/DailyVault

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

6 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸ”’ DailyVault

DailyVault is a privacy-focused web application that lets you write your daily diary and manage to-dos β€” fully protected with end-to-end encryption (E2EE).
Only you can read what you write. Even the server cannot decrypt your data.


✨ Features

  • 🧠 Write and store diary entries securely
  • βœ… Manage personal to-do lists
  • πŸ” End-to-End Encryption (AES-GCM in browser)
  • ☁️ Data stored securely in MySQL via Node.js backend
  • πŸ’¬ Decryption happens only on your device
  • 🚫 Zero-knowledge backend β€” your data stays private

πŸ—οΈ Tech Stack

Frontend: React, JavaScript, Web Crypto API
Backend: Node.js, Express.js
Database: MySQL
Encryption: AES-GCM, PBKDF2 (password-based key derivation)


πŸ”§ How It Works

  1. User writes a diary entry or to-do item.
  2. React encrypts the text locally using AES-GCM before sending.
  3. Encrypted data (ciphertext + IV + salt) is stored in MySQL.
  4. When fetched, data is decrypted locally again using the same password.

πŸ’‘ The server never sees or stores your encryption key or plaintext β€” total end-to-end privacy.


πŸš€ Setup

git clone https://github.com/jadhav045/DailyVault.git
cd DailyVault

# Backend
cd server
npm install
# create .env with PORT, MONGODB_URI, GROQ_API_KEY
npm run dev

# Frontend (new terminal)
cd ../client
npm install
npm start

About

🧠 A secure, end-to-end encrypted diary and to-do web app built with React, Node.js, and MySQL β€” your thoughts, your key, your privacy.

Topics

Resources

Stars

Watchers

Forks

Languages