Dev Vault is a productivity-focused MERN application built for developers who constantly jump between tabs, tutorials, Stack Overflow threads, and half-written snippets. Instead of losing useful code in screenshots, bookmarks, and random notes, Dev Vault gives you a clean, structured, and searchable home for everything you discover.
It also includes a fully functional Chrome Extension that captures code from any website with a single click — and syncs instantly with your dashboard.
This project was built with one intention:
If developers had a “Notion for code”, how would it look?
Dev Vault is the answer.
Every developer keeps hundreds of tiny code fixes, regex patterns, API calls, and useful snippets that they copy daily but forget just as quickly.
Most of them get buried in:
- Bookmarks
- Screenshots
- Notepad files
- Chat messages
- Browser history
I wanted a workflow tool that feels natural — something that captures snippets instantly without breaking focus.
Dev Vault became that tool.
It’s small, fast, practical, and made specifically for real developer life.
- Create, edit, delete, and instantly search snippets
- Add unlimited tags (Many-to-Many relationship)
- Filter snippets in milliseconds
- Clean, distraction-free reading experience
- Select → Right-click → “Save to Dev Vault”
- Auto-detects content type and generates a meaningful title
- Real-time syncing — no manual refresh needed
- JWT-based login & registration
- HttpOnly cookies for security
- BCrypt hashed passwords
- Minimal dark mode design
- Responsive sidebar + grid layout
- Smooth, subtle animations
- Toast notifications (no intrusive popups)
- React.js (Vite)
- CSS Modules
- Axios
- React Router DOM
- Node.js
- Express.js
- MongoDB (Atlas)
- Mongoose ODM
- Manifest V3
Even though MongoDB is a NoSQL database, the design follows DBMS principles:
Normalization, Constraints, Indexing, and Relationship Mapping
- User → Snippets: One-to-Many
- Snippets ↔ Tags: Many-to-Many
_id— ObjectIdusername— Stringemail— String (unique)password— Hashed
_iduser— ObjectId (ref: User)titlecontentlanguagetags— Array of ObjectIds (ref: Tag)
_idnameuser— ObjectId- Composite Unique Index:
{ user, name }
→ prevents duplicate tags per user
git clone https://github.com/KeertanaGupta/Dev-Vault.git
cd Dev-Vaultcd backend
npm installCreate .env inside backend/:
PORT=5000
MONGO_URI=your_mongodb_connection_string
JWT_SECRET=your_secret_key
NODE_ENV=developmentRun backend:
npm run devcd frontend
npm install
npm run dev- Open Chrome →
chrome://extensions - Enable Developer Mode
- Click Load Unpacked
- Select the
extension/folder - Pin the extension
| Method | Endpoint | Purpose | Access |
|---|---|---|---|
| POST | /api/users/register |
Register new user | Public |
| POST | /api/users/login |
Login & set cookie | Public |
| GET | /api/users/profile |
Fetch logged-in user | Private |
| GET | /api/snippets |
Get all snippets | Private |
| POST | /api/snippets |
Add new snippet | Private |
| PUT | /api/snippets/:id |
Update snippet | Private |
| DELETE | /api/snippets/:id |
Delete snippet | Private |
| GET | /api/tags |
Get tags | Private |
- Syntax highlighting for all languages
- Public/Private snippet sharing
- VS Code extension integration
- AI-based snippet categorization
- Keyboard shortcut: Quick Add Snippet
- Folder system for advanced organization