Welcome to the project! We greatly appreciate your contributions. Before submitting your contribution, please take a moment to read the following guidelines.
If you find a bug or have a feature request, please first check the issue tracker to see if the issue already exists. If it doesn't, please create a new issue and provide as much detail as possible, including:
- A description of the issue
- Steps to reproduce the issue
- Expected behavior
- Actual behavior
- Relevant logs or screenshots (if applicable)
-
Fork the Repository: First, fork this project to your GitHub account.
-
Clone the Repository: Clone the forked repository to your local machine.
git clone https://github.com/stackclass/frontend.git cd frontend -
Install Prerequisites: Make sure you have just installed.
-
Setup Development Environment:
just setup # Copies .env.example to .env and installs dependencies -
Create a Branch: Create a new branch for your changes.
git checkout -b your-branch-name
-
Make Changes: Make your changes locally.
-
Run Checks: Ensure all checks pass before submitting your changes.
just all # Runs lint, typecheck, and build -
Commit Changes: Commit your changes with a clear commit message.
git add . git commit -m "Describe your changes"
-
Push Changes: Push your changes to GitHub.
git push origin your-branch-name
-
Create a Pull Request: Create a Pull Request on GitHub and describe your changes. Make sure your PR includes the following:
- The purpose of the changes
- Related issue number (if applicable)
- Any other relevant context
Please follow the project's code style guidelines:
-
Use
ESLintfor static code analysis -
Run the following commands to ensure your code adheres to the style guidelines:
just lint # Runs ESLint to check for issues just lint-fix # Runs ESLint with auto-fix just typecheck # Runs TypeScript type checking
Run just to see all available commands:
just # List all commands
just setup # Setup development environment
just dev # Run development server
just build # Build for production
just lint # Run ESLint
just lint-fix # Run ESLint with auto-fix
just typecheck # Type check the project
just check # Run all checks (lint + typecheck)
just all # Run all checks and build
just clean # Clean build artifactsIf your changes involve public APIs or features, please make sure to update the relevant documentation.
By submitting contributions, you agree that your contributions will be licensed under the project's LICENSE.
Thank you for contributing!