Before working on a new feature or fix, please let everyone know so we don't work on the same issues. Please create an issue and assign yourself in the Issues tab.
- fork and clone the repository
yarn install
in the root folder to install dependencies, which will install dependencies in both client and serveryarn start
to start both client and serveryarn client
to start client onlyyarn server
to start server only
create and fill in server/.env and client/.env
The frontend is run on port 5173 and backend is run on port 4002.
in the root folder,
frontend/client: yarn workspace client add <package>
backend/server: yarn workspace server add <package>
or navigate to the respective folder and yarn add <package>
1. If anyone contribute to this repository, then the changes will not reflect in your local repository. For that:
2. Setup a reference(remote) to the original repository to get all the changes from the remote if you haven't done already.
git remote add upstream https://github.com/webdev-20/TLL-hacktoberfest-2022.git
3. Check the remotes for this repository.
git remote -v
4. Fetching from the remote repository will bring in its branches and their respective commits.
git fetch upstream
5. Now that we have fetched the upstream repository, we want to merge its changes into our local branch. This will bring that branch into sync with the upstream, without losing our local changes.
git merge upstream/<branchname>
6. Or you can club step 4th and 5th together using:-
git pull upstream <branchname>
**Pull changes:**Update the branch and then go to the project folder in terminal and pull the changes to your local repository
git pull
Add your changes:
After pulling the changes either by command line or github, you need to commit and push your changes to your local repository and open a pull request.
- Fork the repository
- Clone to your local machine
- Create a new branch
git checkout -b branchname
, example of a branch name- feature/nav
- fix/header
- chore/some-chores
- Edit locally
- Stage changes and commit
git add .
git commit -m "commit message"
git push origin feature/nav
- Go to your forked repo and click on "Open Pull Request" on the top banner where it says "The branch is x commits ahead of ..."
Read more:
https://docs.github.com/en/get-started/quickstart/contributing-to-projects
https://www.digitalocean.com/community/tutorials/hacktoberfest-how-to-submit-your-first-pull-request-on-github
If reviewing (optional), install GitHub CLI and ask to be added to the Code Review team.
If you are making a low or no-code contribution to this project, please log your activity in the Activity Log by making a pull request.
For more information on what qualifies as a low or no-code contribution, please review the Hacktoberfest Guidelines.