Skip to content

Latest commit

ย 

History

History
169 lines (109 loc) ยท 3.32 KB

File metadata and controls

169 lines (109 loc) ยท 3.32 KB

CodeVault

CodeVault is a lightweight web-based code storage and management platform designed for students and developers to organize, store, and access source code files securely from anywhere.

Unlike bloated cloud IDEs, CodeVault focuses on simplicity, speed, and clarity โ€” acting as a personal vault for code snippets, assignments, and practice programs.


๐Ÿš€ Features

  • ๐Ÿ” User Authentication

    • Register, login, logout
    • Username-based password reset (no email dependency)
  • ๐Ÿ“‚ Code File Management

    • Create, view, edit, and delete files
    • Supports C, C++, and generic text-based code files
    • Timestamped file history
  • ๐ŸŒ™ Dark / Light Theme Toggle

    • One-click theme switching
    • Consistent UI across all pages
  • ๐Ÿงญ Dashboard

    • Centralized view of all stored files
    • Clean card-based layout for easy navigation
  • ๐Ÿ”’ Secure Backend

    • Node.js + Express backend
    • MongoDB for persistent storage
    • Passwords stored securely (hashed)

๐Ÿ›  Tech Stack

Frontend

  • HTML5
  • CSS3 (Flexbox-based responsive layout)
  • Vanilla JavaScript

Backend

  • Node.js
  • Express.js
  • MongoDB
  • Mongoose

๐Ÿ“ Project Structure

backend/
 โ”œโ”€โ”€ models/
 โ”œโ”€โ”€ node_modules/
 โ”œโ”€โ”€ .env
 โ”œโ”€โ”€ package.json
 โ””โ”€โ”€ server.js

frontend/
 โ”œโ”€โ”€ index.html
 โ”œโ”€โ”€ register.html
 โ”œโ”€โ”€ dashboard.html
 โ”œโ”€โ”€ reset-password.html
 โ”œโ”€โ”€ styles.css
 โ””โ”€โ”€ other HTML pages

โš™๏ธ Setup Instructions

  1. Clone the repository

    git clone https://github.com/your-username/codevault.git
  2. Install backend dependencies

    cd backend
    npm install
  3. Configure .env

    MONGO_URI=your_mongodb_connection_string
    PORT=5000
    
  4. Start the server

    node server.js
  5. Open index.html from the frontend folder in your browser


๐ŸŽฏ Use Cases

  • Storing college programming assignments
  • Maintaining a personal library of algorithms
  • Practicing coding problems without losing files
  • Lightweight alternative to cloud IDEs

๐Ÿ”ฎ Future Improvements

  • Syntax highlighting
  • Folder-based organization
  • File search and filtering
  • Version history
  • Optional cloud deployment

๐Ÿ‘ค Author

Developed by Arjun S Pai Computer Science Engineering Student


About CodeVault

CodeVault was built to solve a simple but common problem faced by students and developers โ€” losing, misplacing, or poorly organizing code files across systems and folders.

Instead of relying on heavy cloud IDEs or scattered local files, CodeVault provides a minimal, focused platform where users can securely store and manage their code with ease.

The platform emphasizes:

  • Clean user experience
  • Fast access to files
  • Minimal dependencies
  • Practical real-world usability

CodeVault is not meant to replace professional IDEs. It is designed to complement them by acting as a personal code repository โ€” accessible, organized, and distraction-free.


Why CodeVault?

  • No unnecessary complexity
  • No forced email workflows
  • Designed specifically for students
  • Built with learning and productivity in mind

Vision

To evolve CodeVault into a student-first developer utility, gradually adding features without sacrificing simplicity.