Follow these steps to set up the project locally:
Check if Node.js is installed:
node -vIf Node.js is not installed, follow these steps:
-
Using Homebrew (Mac):
brew install node
-
Using nvm (Node Version Manager):
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.5/install.sh | bash source ~/.bashrc # or ~/.zshrc depending on your shell nvm install node
-
Download Directly:
Visit https://nodejs.org/ and download the latest LTS version.
Verify installation:
node -v
npm -vgit clone https://github.com/jerrybenn/hookProject.gitcd hookProjectList all branches:
git branch -aSwitch to your branch:
git checkout <your-branch-name>If you need to create a new branch:
git checkout -b <new-branch-name>npm installnpm start- Always pull the latest changes before starting:
git pull origin main
- Make descriptive commits:
git add . git commit -m "[FEATURE] Add login functionality" git push origin <your-branch-name>
- Open a pull request when you're ready for review.
Happy coding! 🎯