Thank you for your interest in contributing to our project! This document provides guidelines and instructions for contributing.
-
Fork the repository
-
Clone your fork
git clone https://github.com/ChiragAgg5k/cal-buddy cd cal-buddy
-
Set up envrionment variables
Create a
.env.local
file in the root directory and add the following content:GROQ_API_KEY=<GROQ_API_KEY> NEXT_PUBLIC_CLERK_PUBLISHABLE_KEY=<CLERK_PUBLISHABLE_KEY> CLERK_SECRET_KEY=<CLERK_SECRET_KEY>
Replace
<GROQ_API_KEY>
,<CLERK_PUBLISHABLE_KEY>
, and<CLERK_SECRET_KEY>
with your own values. -
Install dependencies
pnpm install
-
Create a new branch
git checkout -b feature/your-feature-name
-
Make your changes
- Write clean, maintainable code
- Follow our coding standards (see below)
- Update documentation as needed
-
Start the development server
pnpm dev
- Use TypeScript for all new code
- Follow the existing code style
- Use meaningful variable and function names
- Add comments for complex logic
- Keep components small and focused
- Use clear, descriptive commit messages
- Begin with a verb in the present tense (e.g., "Add feature" not "Added feature")
- Reference issue numbers when applicable
- Update the README.md with details of changes if applicable
- Ensure all tests pass
- Update documentation if needed
- Request review from maintainers
- Merge after approval
- All submissions require review
- We may suggest changes or improvements
- The review process helps maintain code quality
If you have questions, feel free to open an issue or reach out to the maintainers.
Thank you for contributing!