Developers:
- Anna Hall
- Bella Chin
- Jolin Yang
- Madison Seal
To run the project locally and preview your changes:
cd two-cents (make sure you're in this folder)
npm install
npm run devThis will start the Vite development server. Open the local URL shown in the terminal.
To test your section:
- make your changes in your assigned files
- save the file
- check the browser preview
- Vite will automatically reload the page
If you need to test a component temporarily, you can import it into App.tsx or the page file it belongs to, view it in the browser, then remove any temporary test code before pushing.
Always branch off dev, not main.
git checkout dev
git pull origin devUse a clear branch name based on your task:
git checkout -b feature/header-navExamples:
feature/footerfeature/home-herofeature/pricing-cards
When ready, commit your work:
git add .
git commit -m "feat: build header component"git push -u origin feature/header-navOn GitHub:
- go to the repository
- click Compare & pull request
- set the base branch to
dev - add a short title and description of what you changed
- create the PR
Make sure:
- the project runs with
npm run dev - your code is only for your assigned task
- there is no leftover test code
- there are no merge conflicts or unnecessary file changes
Do not push directly to main, push to dev. Always use a feature branch and PR first.