CodeVault is a powerful, developer-friendly application designed to store, manage, and share your code snippets efficiently. Built with the MERN stack, it offers a seamless experience with syntax highlighting, instant search, and a beautiful dark-themed UI.
๐ Live Demo: https://codevault-olive.vercel.app/
| Home / Dashboard | Code Editor (Monaco) |
|---|---|
| Browse and manage all snippets | Add or edit snippets with syntax highlighting |
| View Snippet | Responsive Mobile View |
|---|---|
| Beautiful code viewer with copy feature | Fully responsive on all devices |
- ๐ Secure Authentication โ JWT-based auth with HttpOnly cookies
- ๐ Full CRUD Support โ Create, read, update, and delete snippets
- ๐จ Syntax Highlighting โ Monaco Editor for writing, syntax highlighter for viewing
- ๐ Advanced Search โ Debounced search by title or language
- ๐ท๏ธ Tagging System โ Organize snippets with custom tags
- ๐ Dark Mode UI โ Clean developer-focused UI with Tailwind CSS
- ๐ One-Click Copy โ Instantly copy code snippets
- ๐ Privacy Control โ Public or private snippets
- React.js (Vite)
- Redux Toolkit
- Tailwind CSS
- Framer Motion
- Lucide React
- Monaco Editor
- React Syntax Highlighter
- Node.js
- Express.js
- MongoDB & Mongoose
- JWT Authentication
- Bcrypt
- Cookie Parser
- Vercel (Frontend & Backend)
Follow these steps to run CodeVault locally.
- Node.js (v16+ recommended)
- MongoDB (Local or MongoDB Atlas)
git clone https://github.com/YourUsername/CodeVault.git
cd CodeVaultcd server
npm installPORT=5000
MONGO_URI=your_mongodb_connection_string
JWT_SECRET=your_super_secret_key
NODE_ENV=development
CLIENT_URL=http://localhost:5173npm run devOpen a new terminal:
cd client
npm installVITE_API_BASE_URL=http://localhost:5000/apinpm run dev
Frontend will run at:
๐ http://localhost:5173Contributions are always welcome and greatly appreciated!
If you have ideas, improvements, or bug fixes, feel free to contribute.
-
Fork the repository
-
Create your feature branch
git checkout -b feature/AmazingFeature
After making your changes, follow these steps to submit your contribution:
git commit -m "Add AmazingFeature"git push origin feature/AmazingFeatureClearly describe the changes youโve made
Reference related issues if applicableThis roadmap outlines the current progress and future plans for the project.
Core features required for a functional and stable product.
- User Authentication (Register / Login)
- Create, Read, Update, Delete Snippets
- Syntax Highlighting
- Basic Search & Filtering
- Responsive UI
Enhancements focused on user engagement and better organization.
- Social Sharing (public snippet links)
- Likes & Comments
- Collections / Folders
- Profile Customization (avatar & bio)
- Extended Language Support
Advanced integrations and collaboration tools.
- VS Code Extension
- GitHub Gist Integration
- Team Collaboration & Shared Workspaces
Created by [Rahul Sain]
GitHub: https://github.com/Anos714
Email: sainrahul374@gmail.com