- whenever you create a PR/issue please add a good title & description
- add good commit messages
- add screenshots if needed
- Fork this repository
- Click on
Go to file
- Add following code to end of
src/DB/projects.json
{
"gh-username": "YOUR-GITHUB-USERNAME",
"link": "LINK-TO-GITHUB-OR-DEMO",
"title": "PROJECT-TITLE",
"description": "PROJECT-DESCRIPTION",
"tech": ["some tech 1", "some tech 2", "etc"]
}
- Clone it to your computer
git clone https://github.com/[your-username]/ProjectsHut.git
- Navigate to the project folder
cd ProjectsHut
-
Rename
.env.example
to.env
& add yourGitHub Personal Access Token
in.env
file -
install dependencies
pnpm i
- run in local
pnpm dev
- Create a new branch using your
GitHub Username
git checkout -b [name_of_your_new_branch]
- Make sure all the test cases pass
pnpm test
- Add your changes.
git add .
- Add your commits
git commit -m "Your Changes"
If you encounter this error while commits
husky - pre-commit hook exited with code 1(error)use this command
pnpm format
- Set upstream command
git remote add upstream https://github.com/priyankarpal/ProjectsHut.git
- Push your commits
git push -u origin [Your-branch-name]
-
Create a PR
-
Wait for merge