Skip to content
ZYNXTECH

MindWork

A mental health toolkit for people at work.

A Django application with short learning modules, validated screening questionnaires, daily and weekly check-ins, and a rule-based engine that spots patterns such as poor sleep before a low mood. It has a server-rendered interface and a JWT REST API.

Screenings

PHQ-9

Depression

9 items · 0-27

GAD-7

Anxiety

7 items · 0-21

PSS-10

Stress

10 items · 0-40

MBI

Burnout

short form

14 days of check-inssleepmood

Insight: mood dips follow nights under 5.5 h

validated screening questionnaires
4validated screening questionnaires
signals in each daily check-in
8signals in each daily check-in
kinds of insight the engine produces, from pattern checks to a weekly summary
9kinds of insight the engine produces, from pattern checks to a weekly summary
interfaces, server-rendered pages and a REST API
2interfaces, server-rendered pages and a REST API

MindWork is an informational and educational tool. It does not diagnose anything and does not replace a clinician. Anyone in crisis should contact local emergency services or a crisis line.

What it does

  • Awareness modules on workplace stress, recognising burnout, how sleep and exercise affect mood, setting boundaries, and when to ask for help. Each ends with a short quiz.
  • Screenings with the PHQ-9 (depression), GAD-7 (anxiety), PSS-10 (perceived stress) and a short form of the Maslach Burnout Inventory. Each result comes with a severity reading, recommendations and a history chart.
  • Daily check-ins of mood, energy, stress, sleep, work hours, exercise, screen time and social contact, plus a weekly reflection on burnout, emotional exhaustion, productivity and how the week went. Streaks encourage a regular habit.
  • Insights from a rule-based engine that looks for sleep and mood moving together, long hours and stress, the effect of exercise, screen-time fatigue, social isolation, burnout trends and streak milestones, notices good stretches of high mood and energy, and writes a weekly summary. A hook is in place for adding model-written summaries later.
  • An admin dashboard with anonymised aggregates: active users, average mood and stress, the share under high stress, burnout risk and screening severity. Figures come from a cached snapshot that a scheduled Celery task refreshes.

Handling sensitive answers

Any non-zero answer to the PHQ-9 self-harm item, or another high-risk result, starts safety monitoring and sends the user an email with support resources. People can use the app in anonymous mode, export their data as CSV with an audit trail, or delete it.

Under the hood: UUID primary keys, per-user and anonymous rate limits, CSRF and XSS protection, and HSTS, secure cookies and an SSL redirect whenever debug is off. SECRET_KEY is required and debug defaults to off.

Two ways in

The web interface is Django templates with Alpine.js and Chart.js. Alongside it, a Django REST Framework API mirrors the same domain (registration, profile, screenings, daily and weekly tracking with full CRUD, modules and insights) with SimpleJWT tokens, per-user scoping and pagination. The API is browsable at /api/.

Running it

docker-compose up starts the web app, Redis, a Celery worker and Celery beat. On first boot the web service migrates the database, seeds the questionnaires and modules, and collects static files. An admin account is only created if you provide its details in the environment; no credentials are hard-coded.

Questions

Is MindWork a diagnostic tool?
No. It is informational and educational and does not replace a clinician. Anyone in crisis should contact local emergency services or a crisis line.
Which screening questionnaires does it include?
The PHQ-9 for depression, the GAD-7 for anxiety, the PSS-10 for perceived stress and a short form of the Maslach Burnout Inventory, each with a severity reading and history.