Follow these steps to add your projects

Fork this repository

Fork the repo

Click on Go to file(I'm doing from priyankarpal/projectshut )

Fork the repo

Add following code to end of DB/projects.json

copy


    {
      "github_username": "YOUR_GITHUB_USERNAME",  
      "Social_media": {
        "gitHub": "YOUR_GITHUB_ACCOUNT_LINK",
        "LinkedIn": "YOUR_LINKEDIN_ACCOUNT_LINK",
        "Instagram": "YOUR_INSTAGRAM_ACCOUNT_LINK",
        "YouTube": "YOUR_YOUTUBE_ACCOUNT_LINK",
        "Twitter": "YOUR_TWITTER_ACCOUNT_LINK"
      },
      "Projects": [
        {
          "link": "PROJECT_LINK",
          "title": "PROJECT_NAME",
          "description": "PROJECT_DESCRIPTION",
          "tech": ["tech1", "tech2"]
        },
        {
          "link": "PROJECT_LINK",
          "title": "PROJECT_NAME",
          "description": "PROJECT_DESCRIPTION",
          "tech": ["tech1", "tech2"]
        }
      ]
  }

Commit your changes

add professional commits like this

Create Pull Request & wait for merge

Fill up the descriptionadd professional commits like this

OR, If you want to run it locally then follow these steps

Clone this repository

copy

git clone https://github.com/[your-username]/ProjectsHut.git

Navigate to the project folder

copy

cd ProjectsHut

install dependencies

copy

pnpm i

Create a new branch using your `GitHub Username`

copy

git checkout -b [name_of_your_new_branch]

Run in local

copy

pnpm dev

Do Changes in Project you want.

Add your changes.

copy

git add .

Commit your changes

copy

git commit -m "Added [your-changes]"

If you encounter this error while commits

copy

husky - pre-commit hook exited with code 1(error)

Then run this command

copy

pnpm format

Set upstream command

copy

git remote add upstream https://github.com/priyankarpal/ProjectsHut.git

Push your changes

copy

git push origin [Your-branch-name]

Create Pull Request & wait for merge