Thank you for your interest in contributing! LegalLens exists to make legal research accessible to everyone, and we're grateful for any help.
- Fork the repo and clone your fork
- Run
npm installto install dependencies - Copy
.env.exampleto.env.localand add your database URL - Run
npx drizzle-kit pushto set up your database - Run
npm run devto start the development server - Click "Try Demo Account" to seed test data
- TypeScript strict mode
- Use the existing patterns in the codebase
- Run
npm run lintandnpm run typecheckbefore submitting
Use clear, descriptive commit messages:
feat: add citation graph visualizationfix: resolve search pagination bugdocs: update API documentationrefactor: simplify auth middleware
- Keep PRs focused on a single change
- Include a clear description of what and why
- Add screenshots for UI changes
- Make sure lint and typecheck pass
- Check existing issues first to avoid duplicates
- Use issue templates when available
- Include steps to reproduce for bugs
- Be specific about expected vs actual behavior
Be respectful, constructive, and inclusive. We're building something to help people — let's keep the community welcoming.
Open a discussion or reach out via issues. No question is too basic.