Coder Social home page Coder Social logo

quartet's Introduction

#quartet

Depression Assessment app

Instructions:

  • Clone this repo
  • run npm install
  • cd quartet
  • run npm run start
  • open localhost:3000 in your browser OR your ip address:3000 in your mobile browser

This app allows a user to take the PHQ-9 depression screener on their phone (or on desktop if desired) They will answer 9 questions, individually. There is an option to go back to change an answer at any time. Each answer has a corresponding score, which is added up to determine the severity of the user's depression. If it is at least moderately severe, the app will present the user with 3 choices of therapist, with thier name, number and photo. There is also a contact link, which will display a confirmation message that the therapist will contact them shortly.

###How I approached this exercise

I decided not to use radio buttons, check boxes or dropdowns for answer selection, because in my opinion it's a better user experience to hit a big button. Same for not having a 'next' button. If a user wants to change thier answer, they can always go back. I put a slight delay on the answer submission so the user can see that thier answer was selected. When the test is complete, the results (and suggested therapists if they scored at least moderately severe) are shown with an option to start the assessment again.

quartet's People

Contributors

patriciacarbajal avatar

Watchers

James Cloos avatar  avatar

Forkers

ellier7

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.