This guide will walk you through the process of contributing to ExamTime!
To run this project, you will need to add the following environment variables to your .env
file. You can refer to the .env.sample
file located in both the server and client directories.
PORT
MONGODB_URI
SECRET
ORIGIN
VITE_BASE_URL
git clone https://github.com/hereisSwapnil/ExamTime.git
cd server
npm install
npm run dev
cd ../client
npm install
npm run dev
Now you are done with the project setup, now you can make the changes you want or assign.
Once you are done with the changes you wanted to add, follow the steps to make the pull request.
git checkout -b <branch_name>
git add .
git commit -m "Enter your message here"
git push origin <branch_name>
Launch GitHub Desktop and log in to your GitHub account.
If you haven't cloned the ResourceHub repository yet, you can do so by
- Clicking on the "File" menu and selecting "Clone Repository."
- Choose the ExamTime repository from the list of repositories on GitHub and clone it to your local machine.
- Ensure you are on the branch that you want to submit a pull request for.
- If you need to switch branches, you can do so by clicking on the "Current Branch" dropdown menu and selecting the desired branch.
Make your changes to the code or files in the repository using your preferred code editor.
- In GitHub Desktop, you'll see a list of the files you've changed.
- Check the box next to each file you want to include in the commit.
- Enter a summary and description for your changes in the "Summary" and "Description" fields, respectively.
- Click the "Commit to " button to commit your changes to the local branch.
After committing your changes, click the "Push origin" button in the top right corner of GitHub Desktop to push your changes to your forked repository on GitHub.
- Go to the GitHub website and navigate to your fork of the ResourceHub repository.
- You should see a button to "Compare & pull request" between your fork and the original repository. Click on it.
- On the pull request page, review your changes and add any additional information, such as a title and description, that you want to include with your pull request.
- Once you're satisfied, click the "Create pull request" button to submit your pull request.
Your pull request will now be available for review by the project maintainers. They may provide feedback or ask for changes before merging your pull request into the main branch of the ResourceHub repository.
- Document any significant changes or additions to the codebase.
- Provide clear and concise explanations of the functionality, usage, and any relevant considerations.
- Update the
README.md
file to reflect the changes made and provide instructions on how to use the project (if needed).
- Be open to feedback and constructive criticism from other contributors.
- Participate in code reviews by reviewing and providing feedback.
- Help identify and fix bugs in the project.
- Report any issues or bugs you encounter during your contribution by creating a new issue in the GitHub repository.
- Suggest new features or improvements that you believe would enhance the project.
- Share your experience and the project with others.
- Spread the word about the project on social media, developer forums, or any relevant community platforms.
Thank you for your valuable contribution and for being a part of the ExamTime! Together, we can make a difference. 🚀