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/'your username'/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_GOOGLE_CALENDAR_API_KEY=<GOOGLE_CALENDAR_API_KEY> NEXT_PUBLIC_APPWRITE_PROJECT_ID=<APPWRITE_PROJECT_ID>
Replace
<GROQ_API_KEY>
,<GOOGLE_CALENDAR_API_KEY>
,<APPWRITE_PROJECT_ID>
, and<SITE_URL>
with your actual 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!