Thanks for your interest in contributing to here/now! This document provides guidelines for contributing to the project.
- Fork the repository
- Clone your fork locally
- Install dependencies:
npm install - Set up your environment variables (see
.env.example) - Start the development server:
npm run dev
- Node.js 18+
- A Supabase database (or compatible PostgreSQL database)
- Copy
.env.exampleto.env - Fill in your database connection details
- Set
ALLOWED_DOMAINSto include your development domains
npm run db:push # Push schema to database
npm run db:generate # Generate Prisma client- We use ESLint for code linting and Prettier for formatting
- Run
npm run fixto auto-format and fix linting issues - Run
npm run lintto check for any remaining issues - Follow existing code patterns and conventions
-
Create a new branch from
main:git checkout -b feature/your-feature-name
-
Make your changes following these guidelines:
- Write clear, descriptive commit messages
- Keep changes focused and atomic
- Add tests if applicable
- Update documentation if needed
-
Test your changes:
npm run fix # Format code and fix linting issues npm run build # Ensure the project builds
-
Push to your fork and create a pull request
- Provide a clear description of what your PR does
- Reference any related issues
- Include screenshots for UI changes
- Make sure all checks pass
- Keep PRs focused on a single feature/fix
When reporting bugs, please include:
- Steps to reproduce
- Expected vs actual behavior
- Environment details (OS, Node version, etc.)
- Relevant logs or error messages
- Check existing issues before creating new ones
- Clearly describe the use case and benefit
- Consider if the feature aligns with the project's goals
- Be respectful and inclusive
- Focus on constructive feedback
- Help maintain a welcoming environment for all contributors
Feel free to open an issue for questions about contributing or join discussions in existing issues.