We're excited that you're interested in contributing to Medium-Blog. This document outlines the process for contributing to our project and provides some guidelines to ensure a smooth collaboration.
- Project Structure
- Getting Started
- Raising Issues
- Submitting Pull Requests
- Code Style and Standards
- Security Considerations
Our project is structured as follows:
- Frontend: Built with Vite and React
- Backend: Built with Hono.js
Please familiarize yourself with these technologies before contributing.
- Fork the repository on GitHub.
- Clone your forked repository to your local machine.
- Install the necessary dependencies for both frontend and backend.
- Create a new branch for your feature or bug fix.
When raising an issue, please follow these guidelines:
- Check if the issue already exists in the project's issue tracker.
- If it doesn't exist, create a new issue with a clear, descriptive title.
- Provide a detailed description of the issue, including:
- Steps to reproduce
- Expected behavior
- Actual behavior
- Screenshots or error messages (if applicable)
- Label the issue appropriately (e.g., bug, enhancement, documentation).
To submit a pull request (PR):
- Write clear, concise commit messages.
- Include tests for new features or bug fixes.
- Update documentation if necessary.
- Create a pull request with a clear title and description.
- Reference any related issues in your PR description.
- Follow the existing code style in the project.
- Use meaningful variable and function names.
- Write clear comments for complex logic.
- Ensure your code is properly formatted.
When contributing, please keep the following security considerations in mind:
- Never commit sensitive information (e.g., API keys, passwords) to the repository.
- Use environment variables for configuration settings.
- Validate and sanitize user inputs to prevent injection attacks.
- Follow best practices for authentication and authorization.
- Keep dependencies up to date and regularly check for vulnerabilities.
For any security-related issues, please report them privately to the project maintainers.
Thank you for contributing to Medium-Blog Your efforts help make this project better for everyone.