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.
-
πΎ Git Command Emulation
- Initialize repositories (
init
) - Stage, commit, push, and pull files
- Maintain commit history with metadata
- Initialize repositories (
-
βοΈ 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
- React.js
- Bootstrap or Tailwind (optional)
- Axios
- Node.js
- Express.js
- MongoDB (Mongoose)
- AWS SDK (S3 integration)
- JWT & bcryptjs (Auth)
- Node.js & npm
- MongoDB running locally or Atlas
- AWS S3 Bucket with credentials
- 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