First and foremost, thank you for considering contributing to CodeGen! This document provides guidelines and instructions for contributing to this project.
By participating in this project, you agree to abide by our Code of Conduct. Please read it before contributing.
- Check if the bug has already been reported by searching through the project's issues.
- If you're unable to find an existing issue, open a new one. Be sure to include:
- A clear, descriptive title
- Steps to reproduce the issue
- Expected behavior
- Actual behavior
- Screenshots (if applicable)
- Your environment (browser, OS, etc.)
- Check if the feature has already been suggested by searching through the project's issues.
- If you're unable to find an existing suggestion, open a new issue. Clearly describe:
- The feature you'd like to see
- Why it would be valuable to the project
- Any thoughts on implementation
- Fork the repository
- Create a branch (
git checkout -b feature/amazing-feature) - Make your changes
- Follow the coding style of the project
- Add or update tests as necessary
- Update documentation as needed
- Commit your changes (
git commit -m 'Add some amazing feature')- Use clear, descriptive commit messages
- Reference issues and pull requests where appropriate
- Push to your branch (
git push origin feature/amazing-feature) - Open a pull request
- Include a clear description of the changes
- Link to any relevant issues
-
Clone your fork of the repository
git clone https://github.com/your-username/CodeGen.git cd CodeGen -
Install dependencies
npm install # or yarn install -
Set up environment variables
cp .env.example .env.local # Configure the environment variables as needed -
Start the development server
npm run dev # or yarn dev
- Use the present tense ("Add feature" not "Added feature")
- Use the imperative mood ("Move cursor to..." not "Moves cursor to...")
- Limit the first line to 72 characters
- Reference issues and pull requests liberally after the first line
- Use 2 spaces for indentation
- Use camelCase for variables and functions
- Use PascalCase for classes and React components
- Use UPPERCASE for constants
- End all files with a newline
- Use 2 spaces for indentation
- Use hyphen-separated naming convention
- Organize properties alphabetically
bug: Something isn't working as expectedenhancement: New feature or requestdocumentation: Improvements or additions to documentationgood first issue: Good for newcomers to the projecthelp wanted: Extra attention is needed
Thank you for your contributions and for making CodeGen better!