{"id":50330180,"url":"https://github.com/developerjillur/brass-study","last_synced_at":"2026-05-29T09:01:35.379Z","repository":{"id":348510017,"uuid":"1198403924","full_name":"developerjillur/brass-study","owner":"developerjillur","description":"BRASS CKD Study - Photobiomodulation Research Platform (Next.js + NestJS + MySQL)","archived":false,"fork":false,"pushed_at":"2026-04-29T01:06:50.000Z","size":1855,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-04-29T03:12:37.861Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/developerjillur.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-04-01T11:50:19.000Z","updated_at":"2026-04-29T01:06:54.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/developerjillur/brass-study","commit_stats":null,"previous_names":["developerjillur/brass-study"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/developerjillur/brass-study","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/developerjillur%2Fbrass-study","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/developerjillur%2Fbrass-study/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/developerjillur%2Fbrass-study/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/developerjillur%2Fbrass-study/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/developerjillur","download_url":"https://codeload.github.com/developerjillur/brass-study/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/developerjillur%2Fbrass-study/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33644313,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-05-29T02:00:06.066Z","response_time":107,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2026-05-29T09:01:34.474Z","updated_at":"2026-05-29T09:01:35.364Z","avatar_url":"https://github.com/developerjillur.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# BRASS CKD Study - Photobiomodulation Research Platform\n\nA comprehensive clinical research platform for managing a photobiomodulation (PBM) therapy study for chronic kidney disease (CKD).\n\n**Live site:** https://brassphdstudy.com\n\n## Architecture\n\n| Component | Technology | Directory |\n|-----------|-----------|-----------|\n| Frontend | Next.js 14 (App Router) + TypeScript + Tailwind CSS + shadcn/ui | `/frontend` |\n| Backend | NestJS + TypeORM + MySQL | `/backend` |\n| Database | MySQL 8.0 | `/database` |\n| Deployment | PM2 + Nginx + Let's Encrypt SSL | `/deploy` |\n\n## Features\n\n### Participant Portal\n- Screening \u0026 eligibility check\n- Multi-step onboarding (demographics, consent, baseline labs)\n- Daily therapy session logging with compliance tracking\n- Renal function lab result submission\n- Validated psychological assessments (HADS, PHQ-9, GAD-7, PSS-10)\n- Two-way messaging with researcher\n- 90-day study timeline calendar\n- HIPAA-compliant 30-minute session timeout\n\n### Researcher Portal\n- Screening queue management\n- Participant enrollment \u0026 randomized group assignment\n- Compliance heatmap \u0026 monitoring\n- Assessment completion tracking\n- Comprehensive data reports \u0026 exports (CSV, de-identified, consent audit)\n- Broadcast messaging\n\n### Security \u0026 Compliance\n- JWT authentication with bcrypt password hashing\n- Role-based access control (researcher/participant)\n- HIPAA session timeout (30 minutes)\n- Audit logging on all PHI modifications\n- Participant anonymization on withdrawal\n- SSL/HTTPS encryption\n\n## Quick Start (Local Development)\n\n### Prerequisites\n- Node.js 20+\n- MySQL 8.0\n\n### Backend\n```bash\ncd backend\nnpm install\n# Configure .env with MySQL credentials\nnpm run start:dev  # Runs on port 3001\n```\n\n### Frontend\n```bash\ncd frontend\nnpm install\n# Set NEXT_PUBLIC_API_URL=http://localhost:3001 in .env.local\nnpm run dev  # Runs on port 3000\n```\n\n### Seed Test Data\n```bash\ncurl -X POST http://localhost:3001/api/seed/test-users\n```\n\n### Test Credentials\n- **Researcher:** researcher@test.com / Researcher123!\n- **Participant:** participant@test.com / Participant123!\n\n## Production Deployment\n\nSee `/deploy/` directory for:\n- `setup-server.sh` - VPS initial setup script\n- `deploy.sh` - Full deployment script\n- `ecosystem.config.js` - PM2 process manager config\n- `nginx-brass-study.conf` - Nginx reverse proxy + SSL config\n\n## Database\n\n- `database/brass_study_schema.sql` - Schema only (for fresh setup)\n- `database/brass_study_full.sql` - Full dump with data\n\n## Study Details\n\n- **Researcher:** Sandra Brass, PhD Candidate, Quantum University\n- **Study Duration:** 12 weeks (84 days)\n- **Design:** Randomized, double-blind (treatment vs. placebo control)\n- **IRB Approved**\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdeveloperjillur%2Fbrass-study","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdeveloperjillur%2Fbrass-study","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdeveloperjillur%2Fbrass-study/lists"}