Before setting up the project, ensure you have the following installed:
Open a terminal: git clone https://github.com/YuviShendge/SWEGroup2.git cd SWEGroup2
cd backend npm install npm run dev
cd ../frontend npm install npm start
1: Pull the Latest Code from main Always ensure your local branch is up to date before making changes:
git checkout main git pull origin main
2: Create a New Branch for Your Work Create a new feature branch based on the latest main:
git checkout -b feature/your-feature-name
Bug fixes: git checkout -b bugfix/your-bugfix-name
3: Make Changes and Commit After making your changes, add and commit them:
git add . git commit -m "Added feature: [describe your feature]"
4: Push Your Branch to GitHub Push your branch to the repository: git push origin feature/your-feature-name
5: Submit a Pull Request (PR) Go to GitHub. Navigate to the Pull Requests tab. Click New Pull Request. Select your branch (feature/your-feature-name) and compare it with main. Add a description of your changes. Click Create Pull Request.