Here's the updated CONTRIBUTION.md file with the correct license information (Apache License 2.0) and a few refinements to make it more polished.
Welcome to the EduMatrix Virtual Classroom project! 🎉 We’re excited to have you here. Your contributions will help make this platform a better, more accessible virtual classroom for everyone.
This document outlines the process for contributing to the project. Please follow the guidelines to ensure a smooth collaboration experience.
- Code of Conduct
- Getting Started
- How to Contribute
- Project Setup
- Creating a Pull Request
- Reporting Issues
- Branch Naming Convention
- Coding Standards
- License
We are committed to creating a welcoming and inclusive environment for all contributors. Please be respectful, considerate, and supportive when engaging with others.
To start contributing:
- Fork the repository on GitHub.
- Clone the forked repository to your local machine.
- Set up your development environment as described in the Project Setup section.
There are several ways you can contribute:
- Report bugs 🐛
- Suggest new features 💡
- Improve documentation 📄
- Fix issues 🔧
- Review pull requests ✅
Contributions of all kinds are welcome!
Follow these steps to set up the project locally:
-
Clone the repository
git clone https://github.com/your-username/edumatrix-virtual-classroom.git cd edumatrix-virtual-classroom -
Install dependencies
npm install
-
Create a
.envfile
Set up your environment variables as shown below:MONGO_URI=your_mongo_db_uri JWT_SECRET=your_jwt_secret FRONTEND_URL=http://localhost:5173
-
Run the project
- Backend:
npm run server
- Frontend:
Navigate to the frontend folder and run:npm run dev
- Backend:
-
Create a new branch
Use a descriptive branch name:git checkout -b feature/add-new-feature
-
Commit your changes
Make sure your commit messages are clear and descriptive:git add . git commit -m "Added a new feature for user authentication"
-
Push the branch to your forked repository
git push origin feature/add-new-feature
-
Open a Pull Request
Go to the original repository and open a pull request. Provide a clear title and description of your changes.
If you encounter a bug or have a feature request, please create an issue. Be sure to provide a detailed description and steps to reproduce the bug, if applicable.
To keep things organized, use the following branch naming conventions:
| Branch Type | Naming Convention | Example |
|---|---|---|
| Feature | feature/feature-name |
feature/user-authentication |
| Bug Fix | fix/bug-description |
fix/login-error |
| Documentation | docs/doc-name |
docs/contribution-guide |
- Use ESLint for linting.
- Follow Prettier formatting rules.
- Write clean, well-documented code.
- Ensure your code passes all tests before submitting a pull request.
This project is licensed under the Apache License 2.0. By contributing, you agree that your contributions will be licensed under the same license.
For more details, see the LICENSE file.
We appreciate your contributions! 💖 Let’s build EduMatrix Virtual Classroom together! 🚀