PHATPHUM.ME
Personal2025

D-Face (Depression Screening)

PHQ-9 Depression Screening Web Application

D-Face (Depression Screening)

Role

Full Stack Developer

Year

2025

Team

Solo Project

Tech Stack

Next.js, MySQL, Prisma

A web application for initial depression screening using the standard PHQ-9 questionnaire. This project was built as a hands-on exercise to implement a rule-based scoring system that evaluates responses against predefined criteria. It includes an information page, an assessment flow, and a history view for reviewing past results. After submission, the system calculates the total score, maps it to a severity level, and provides immediate preliminary guidance.

01 The Problem

  • Needed a consistent, criteria-based evaluation system aligned with PHQ-9 scoring rules as a foundation for a health-oriented web app practice project.
  • Users should receive immediate results and preliminary guidance after completing the assessment to understand their score and next steps.
  • Required supporting pages—educational content and a result history—to help users learn and track their assessment trends over time.

02 The Solution

  • Implemented the standard PHQ-9 (9 questions) as a straightforward, user-friendly form with completeness checks before evaluation.
  • Built a rule-based scoring and severity mapping mechanism, then generated a result summary and appropriate preliminary recommendations instantly after submission.
  • Added an information section to explain the purpose and context of the screening, and a history page to review past results and observe score changes.

03 The Result

  • Users can complete the PHQ-9 assessment and receive an immediate score summary with severity classification and preliminary guidance.
  • A dedicated history view enables convenient review of previous assessments and trend tracking over time.
  • Delivered a clear, criteria-driven prototype suitable for further iteration and feature expansion.

Project Gallery

Gallery image 1

PHQ-9 Assessment Screen

Gallery image 2

Results & History View

Gallery image 3
Gallery image 4
Gallery image 5
Gallery image 6
Gallery image 7
Gallery image 8
Gallery image 9