Skip to content

Latest commit

Β 

History

History
99 lines (74 loc) Β· 2.61 KB

File metadata and controls

99 lines (74 loc) Β· 2.61 KB

Contributing Guidelines

Thank you for your interest in contributing to YourTripPlanner! We welcome all kinds of contributions β€” from reporting bugs and submitting feature requests to writing code, updating documentation, or improving UI/UX.


πŸ›  How to Contribute

1. Fork the Repository

Click the Fork button at the top-right corner of this repository.

2. Clone Your Fork

git clone https://github.com/<your-username>/trip-planner.git
cd trip-planner

3. Set Upstream Remote (Only Once)

git remote add upstream https://github.com/code-well0/trip-planner.git

4. Create a Feature Branch

git checkout -b feature/your-feature-name

5. Make and Test Your Changes

  • Follow the file structure and naming conventions.
  • Use clean, modular code.
  • If modifying UI components, test locally using:
npm install
npm run start

6. Commit Your Changes

git add .
git commit -m "Add: your meaningful commit message"

7. Sync with Upstream (Optional Before Pushing)

git fetch upstream
git rebase upstream/main

8. Push and Create a Pull Request

git push origin feature/your-feature-name

Then go to your fork on GitHub and open a Pull Request to the main branch.


πŸ“‚ Project Structure

trip-planner/
β”œβ”€β”€ public/                # Static files (HTML, images, favicon)
β”œβ”€β”€ src/                   # Core application source code
β”‚   β”œβ”€β”€ Components/        # Reusable UI components like Navbar, Footer, etc.
β”‚   β”œβ”€β”€ pages/             # React pages like Home, Signup, PlanTrip, etc.
β”‚   └── index.js           # Entry point for React
β”œβ”€β”€ .vscode/               # Editor-specific settings
β”œβ”€β”€ backend/               # Node/Express backend server & routes
β”œβ”€β”€ README.md              # Project overview and setup
β”œβ”€β”€ GEMINI_SETUP.md        # Setup guide for Google Gemini chatbot
β”œβ”€β”€ DEPLOYMENT_GUIDE.md    # Deployment instructions
β”œβ”€β”€ CODE_OF_CONDUCT.md     # Contributor behavior guidelines
└── LICENSE                # Licensing information

βœ… Contribution Tips

  • Keep pull requests small and focused
  • Test before submitting
  • Write clear and meaningful commit messages
  • Ensure consistency in formatting and naming conventions
  • Update README/Docs if required

🧾 Code of Conduct

By participating, you agree to follow our Code of Conduct.


🀝 Need Help?

Feel free to open a GitHub Issue or start a Discussion for questions, suggestions, or clarifications.


Happy Contributing! πŸ’‘