Welcome to our project! We're thrilled that you're considering contributing. Here's a comprehensive guide to help you get started, tailored to the information you've provided:
- Fork the repository to your GitHub account.
- Clone the forked repository to your local machine.
- Run
npm install
to install the project dependencies. - Familiarize yourself with the project's structure and codebase.
- Create a new branch for your contribution:
git checkout -b feature/my-feature
. - Keep your branch up to date with the main branch: git pull origin main.
- Before proceeding, read how to create a GitHub access token.
- To configure environment variables:
- Copy
cp ./packages/graphql/env.example ./packages/graphql/.env.local
and add your GitHub token as indicated in step 1. - Copy
cp ./apps/main/env.example ./apps/main/.env.local
and add your GitHub token in the same way.
- Copy
- If needed, you can generate code from the GraphQL schema using:
npm run codegen:graphql
- To start the application:
npm run dev
- Open your browser and navigate to http://localhost:3000 to view the app.
- Craft descriptive and concise commit messages.
- Write in the present tense, such as "Add feature" instead of "Added feature".
- Link to related issues using keywords like "Fixes #123".
- Push your changes to your forked repository.
- Create a Pull Request (PR) from your branch to the main repository's main branch.
- Provide a clear PR title and an explanatory description of your changes.
- Reference relevant issues using keywords like "Closes #123".
- Should you come across a bug or have an idea, check for existing issues. If none exist, create one.
- Utilize the provided issue template for comprehensive details.
- Approach feedback and suggestions with a respectful and receptive attitude.
Thank you for considering contributing to our project. Your dedication contributes to its growth and quality. Enjoy the collaborative journey!