Thank you for your interest in contributing to Budgetter! Your support helps improve our app, allowing individuals and students to manage their daily expenses more effectively.
- Getting Started
- Coding Standards
- Branch Naming Conventions
- Submitting a Pull Request
- Commit Messages
- Fork the Repository: First, fork this repository to your GitHub account.
- Clone Your Fork: Clone the forked repository to your local machine.
git clone https://github.com/your-username/Budgetter-Webapp.git
- Install Dependencies: Install the required packages for both frontend and backend.
cd client npm install cd ../server npm install
- Run the App: Start the development servers for both frontend and backend.
cd server npm run dev cd ../client npm run dev
- Code Style: Use Prettier for formatting. Example configuration:
{ "semi": true, "singleQuote": true, "trailingComma": "es5", "tabWidth": 2 }
- TypeScript: Use TypeScript for strict type-safety. Avoid any unless absolutely necessary.
- Naming Conventions:
- Components and files should use PascalCase (e.g., MyComponent.tsx ).
- Variables and functions should use camelCase.
Please use the following branch naming convention:
- feature/feature-name: For new features (e.g., feature/add-auth ).
- fix/bug-description: For bug fixes (e.g., fix/button-not-clickable ).
- chore/description: For maintenance tasks (e.g., chore/update-dependencies ).
- feature/add-login
- fix/navbar-styling
- chore/refactor-code
-
Sync with Main Branchy: Before creating a PR, make sure your branch is up-to-date with the main branch.
git checkout master git pull origin master git checkout your-branch-name git rebase master
-
Open a Pull Request: Go to the original repository and create a pull request from your forked branch. Please include the following:
- Descriptive Title: Summarize the changes.
- Detailed Description: Explain what the PR does and any relevant context.
-
PR Reviews: All PRs must be reviewed and approved by at least one maintainer before merging.
Write clear and concise commit messages. Use the following format:
- feat: A new feature.
- fix: A bug fix
- docs: Documentation changes
- style: Code style updates (formatting, missing semi-colons, etc.)
- refactor: Code restructuring without functionality change
- test: Adding or updating tests
- feat: add login form component
- fix: resolve navbar alignment issue
- docs: update README with setup instructions
- style: format code with Prettier
By following these guidelines, you help us maintain a high-quality, consistent codebase. Thank you for your contributions! 🎉