First off, thank you for considering contributing to the Next SaaS Template! Your help is greatly appreciated. This document provides guidelines and best practices to help you contribute effectively.
By participating in this project, you agree to abide by the Code of Conduct. Please read it to understand the expectations for behavior when interacting in the project.
If you find a bug, please report it by opening an issue. Ensure you include:
- A clear and descriptive title.
- Steps to reproduce the issue.
- Expected and actual results.
- Screenshots or code snippets if applicable.
- Any relevant log output.
We welcome suggestions for new features. If you have an idea, please open an issue and include:
- A clear and descriptive title.
- A detailed description of the feature and its benefits.
- Any potential implementation ideas.
Good documentation is crucial. If you find areas for improvement in our documentation:
- Fork the repository and make your changes.
- Ensure your documentation is clear and concise.
- Open a pull request with a detailed description of your changes.
When you're ready to contribute your code, follow these steps:
- Fork the Repository: Click the "Fork" button on the repository's GitHub page.
- Create a Branch: Create a new branch for your feature or bugfix.
git checkout -b feature-or-bugfix-name
- Commit Your Changes: Make your changes and commit them with a clear message.
git commit -m "Description of changes"
- Push to Your Branch: Push your changes to your forked repository.
git push origin feature-or-bugfix-name
- Create a Pull Request: Open a pull request from your branch to the main repository's
main
branch. Provide a detailed description of your changes and the problem they solve or the feature they add.
To set up your development environment:
- Clone the Repository:
git clone https://github.com/ashsajal1/next-saas-template.git cd next-saas-template
- Install Dependencies:
npm install # or pnpm install # or yarn install
- Start the Development Server:
npm run dev # or pnpm 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 or less.
- Reference issues and pull requests liberally.
- Follow the emoji conventions for commit messages:
- 📃 docs: Documentation changes.
- 🐛 fix: Bug fixes.
- ✨ feat: New features.
- 🔧 chore: Changes to the build process or auxiliary tools.
- 🎨 style: Code style changes (formatting, etc.).
- 🚀 perf: Performance improvements.
- ✅ test: Adding or updating tests.
- 🔥 remove: Removing code or files.
- ♻️ refactor: Refactoring code.
- 📦️ deps: Dependency updates.
- 🚧 wip: Work in progress.
- Follow the existing code style in the project.
- Use ESLint and Prettier to maintain code consistency.
- Write clear and concise comments where necessary.
If you have any questions or need further assistance, feel free to reach out via email at [email protected].
Thank you for your contributions and for helping to make the Next SaaS Template better!