Skip to content

Scout-NU/TwoCents

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TwoCents

Developers:

  • Anna Hall
  • Bella Chin
  • Jolin Yang
  • Madison Seal

Local Development

To run the project locally and preview your changes:

cd two-cents (make sure you're in this folder)
npm install
npm run dev

This 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.


Git Workflow

Always branch off dev, not main.

1. Get the latest dev

git checkout dev
git pull origin dev

2. Create your own feature branch

Use a clear branch name based on your task:

git checkout -b feature/header-nav

Examples:

  • feature/footer
  • feature/home-hero
  • feature/pricing-cards

3. Work and save your changes

When ready, commit your work:

git add .
git commit -m "feat: build header component"

4. Push your branch

git push -u origin feature/header-nav

5. Open a Pull Request

On 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

6. Before opening a 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.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors