I'm sure at some point you must have felt the need to save your small code snippets when working on someone else's machine, like in a lab or a shared workspace, and found GitHub too complicated for such small snippets.
Well , you've found the perfect repository.
CodeVault is a web application designed for developers to store, manage, and share small code snippets. It offers features that go beyond simple storage, making it a versatile tool for developers who need quick access to reusable code pieces without the overhead of using platforms like GitHub for small snippets.
- JWT Authorization - Secure your sessions with JSON Web Tokens.
- OAuth 2.0 - Login using Google or GitHub through Passport.js.
- Multi-language Support - Save snippets in multiple programming languages.
- Code Editor - Enjoy language-specific autocomplete suggestions.
- Image Downloads - Download beautiful images of your code snippets.
- Clipboard Copy - Copy your code snippets to the clipboard with one click.
- Pin Snippets - Pin your favorite snippets to see them first.
- Community Building - Follow other users and build your network.
- Explore Section - Post your thoughts and share them with the community.
- Star/Favourite - Star and favorite public snippets from other users.
- Rich Posts - Use images in your posts.
- Engagement - Upvote, downvote, and comment on posts.
- ChatRoom - A Chatroom built using Websockets: designed with memory efficiency in mind and without the need for a database or browser caching for fast and efficient communication.
- Email Notifications - Get notified via email using Nodemailer.
- Tech News - Stay updated with the latest tech news.
- Tags - Add tags to your snippets and posts for better visibility.
- Frontend: React, Tailwind CSS
- Backend: Node.js, Express
- Database: MongoDB
- Authentication: JWT, Passport.js (OAuth 2.0)
- Email Service: Nodemailer
- Deployment: Vercel
The backend follows a Model-View-Controller (MVC) architecture, ensuring a clean separation of concerns and better maintainability.
-
Clone the repository:
git clone https://github.com/YashwantBhosale/code-vault-new.git
-
Navigate to the project directory:
cd code-vault-new
-
Set up the server:
cd server npm install nodemon server.js
-
Set up the client:
cd ../client npm install npm start
Contributions are what make the open source community such an amazing place to be learn, inspire, and create. Any contributions you make are greatly appreciated.
- If you have suggestions for adding or removing features, feel free to open an issue to discuss it, or directly create a pull request with necessary changes.
- Create individual PR for each suggestion.
- Fork the Project
- Create your Feature Branch (
git checkout -b feature/AmazingFeature
) - Commit your Changes (
git commit -m 'Add some AmazingFeature'
) - Push to the Branch (
git push origin feature/AmazingFeature
) - Open a Pull Request
CodeVault is developed by Yashwant Bhosale and Mehmood Deshmukh
- LinkedIn: Mehmood Deshmukh
- LinkedIn: Yashwant Bhosale
- GitHub: Mehmood Deshmukh
- GitHub: Yashwant Bhosale
Feel free to reach out for collaboration, feedback, or just to say hi!
Special thanks to Tanmay Bansode for the idea of chatroom without the need for a database or browser caching.
The first version of CodeVault, when it was just an initial concept, is still hosted and available Here. Check it out to see how far we've come!