Thank you for your interest in contributing to NeuroStride — an AI-powered neurorehabilitation platform! We welcome contributions of all kinds: bug fixes, new features, documentation improvements, and more.
- Code of Conduct
- Getting Started
- Development Workflow
- Branch Naming
- Commit Message Convention
- Pull Request Guidelines
- Project Structure
By participating in this project, you agree to maintain a respectful and inclusive environment for everyone. Be constructive, patient, and collaborative.
- Fork the repository on GitHub.
- Clone your fork locally:
git clone https://github.com/<your-username>/neurostride.git cd neurostride
- Follow the setup steps in the README to get the backend and frontend running.
main ← stable, production-ready code
└── dev ← integration branch (open PRs against this)
├── feat/your-feature
├── fix/your-bugfix
└── docs/your-docs-update
Always branch off dev, not main.
| Type | Pattern | Example |
|---|---|---|
| Feature | feat/<short-description> |
feat/eeg-band-visualizer |
| Bug fix | fix/<short-description> |
fix/session-end-crash |
| Docs | docs/<short-description> |
docs/hardware-setup-guide |
| Refactor | refactor/<description> |
refactor/pharmacy-router |
| Chore | chore/<description> |
chore/update-dependencies |
We follow Conventional Commits:
<type>(<scope>): <short summary>
[optional body]
[optional footer]
Types: feat, fix, docs, style, refactor, test, chore
Examples:
feat(backend): add EMG spike detection endpoint
fix(frontend): resolve WebSocket reconnection on page reload
docs(hardware): add wiring diagram for servo controller
- Keep PRs focused — one feature or fix per PR.
- Write a clear description explaining what and why, not just what.
- Test your changes before opening a PR.
- Do not commit
.env,venv/,node_modules/, or*.dbfiles. - Reference issues in your PR description:
Closes #42.
neurostride/
├── backend/ # FastAPI application
│ ├── agents/ # AI agent logic (Groq LLM)
│ ├── core/ # Database, auth, utilities
│ ├── models/ # SQLAlchemy ORM models
│ ├── routers/ # API route modules
│ └── main.py # App entry point
├── frontend/ # Next.js 14 application
│ ├── components/ # Reusable UI components
│ ├── context/ # React context providers
│ ├── lib/ # API client & utilities
│ └── pages/ # Next.js pages (doctor, patient, pharmacy)
└── hardware/ # Neuphony EXG Synapse bridge
└── neuphony_bridge.py
Open a GitHub Issue or start a Discussion.