Skip to content

ByteGit is a powerful clone of GitHub that replicates the core functionality of version control through Git-like commands. Built with the **MERN** stack and **AWS S3** for file storage, ByteGit allows users to initialize repositories, push and pull code, view commit histories, and revert files β€” all within a secure and intuitive web interface.

Notifications You must be signed in to change notification settings

bytesumit/ByteGit

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

ByteGit πŸ”πŸ“

GitHub Clone with Git-Like Command Functionality

ByteGit is a powerful clone of GitHub that replicates the core functionality of version control through Git-like commands. Built with the MERN stack and AWS S3 for file storage, ByteGit allows users to initialize repositories, push and pull code, view commit histories, and revert files β€” all within a secure and intuitive web interface.


πŸš€ Key Features

  • πŸ’Ύ Git Command Emulation

    • Initialize repositories (init)
    • Stage, commit, push, and pull files
    • Maintain commit history with metadata
  • ☁️ AWS S3 Integration

    • Secure file storage using AWS S3 buckets
    • Versioned file management
    • Rollbacks and historical version access
  • πŸ“‚ Project Repository Management

    • Create, view, and manage repositories
    • Repository overview and file explorer
  • πŸ” User Authentication

    • JWT-based secure login & registration
    • bcryptjs for password hashing
    • Role-based access to repositories
  • βš™οΈ Real Git-Like Experience

    • Simulated Git commands through frontend UI
    • Backend logic mimicking Git version tracking and diffing
  • πŸ“ˆ Commit Logs and File Diffs

    • View commit messages and timestamps
    • Compare file changes over time

πŸ› οΈ Tech Stack

Frontend

  • React.js
  • Bootstrap or Tailwind (optional)
  • Axios

Backend

  • Node.js
  • Express.js
  • MongoDB (Mongoose)
  • AWS SDK (S3 integration)
  • JWT & bcryptjs (Auth)


βš™οΈ Setup Instructions

Prerequisites

  • Node.js & npm
  • MongoDB running locally or Atlas
  • AWS S3 Bucket with credentials

Steps

  1. Clone the Repository
    git clone https://github.com/your-username/bytegit.git
    cd bytegit

PORT=5000 MONGO_URI=your_mongodb_connection_string JWT_SECRET=your_jwt_secret AWS_ACCESS_KEY_ID=your_aws_key AWS_SECRET_ACCESS_KEY=your_aws_secret AWS_BUCKET_NAME=your_bucket_name

#Install Backend Dependencies

cd backend npm install npm start

#Install Frontend Dependencies

cd ../frontend npm install npm start


About

ByteGit is a powerful clone of GitHub that replicates the core functionality of version control through Git-like commands. Built with the **MERN** stack and **AWS S3** for file storage, ByteGit allows users to initialize repositories, push and pull code, view commit histories, and revert files β€” all within a secure and intuitive web interface.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published