Thank you for your interest in contributing to view0x! This document provides guidelines and instructions for contributing to the project.
By participating in this project, you are expected to uphold our Code of Conduct.
If you find a bug, please open an issue with:
- A clear, descriptive title
- Steps to reproduce the issue
- Expected vs. actual behavior
- Environment details (OS, Node.js version, etc.)
- Screenshots if applicable
Feature suggestions are welcome! Please open an issue with:
- A clear description of the feature
- Use case and motivation
- Potential implementation approach (if you have ideas)
- Fork the repository
- Create a feature branch from
main:git checkout -b feature/your-feature-name
- Make your changes following our coding standards
- Test your changes thoroughly
- Commit your changes with clear, descriptive messages
- Push to your fork and open a Pull Request
-
Clone the repository:
git clone https://github.com/1cbyc/view0x.git cd view0x -
Install dependencies:
# Backend cd backend npm install # Frontend cd ../frontend npm install
-
Set up environment variables (see
.env.examplefiles) -
Start development servers:
# Backend (from backend/) npm run dev # Frontend (from frontend/) npm run dev
-
Run tests:
npm test
- TypeScript: Use TypeScript for all new code
- Linting: Follow ESLint rules (run
npm run lint) - Formatting: Use consistent formatting (see
.editorconfig) - Commits: Write clear, descriptive commit messages
- Documentation: Document complex logic and public APIs
- All PRs require review from maintainers
- Address feedback promptly
- Keep PRs focused and reasonably sized
- Ensure tests pass and code is linted
If you have questions, feel free to:
- Open an issue with the
questionlabel - Check existing issues and discussions
Thank you for contributing to view0x!