Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/techmsi/mental-health-api

Prototype for mental health api using Patient Health Questionnaire (PHQ-9) & returning a list of therapists.
https://github.com/techmsi/mental-health-api

lambda-functions

Last synced: about 1 month ago
JSON representation

Prototype for mental health api using Patient Health Questionnaire (PHQ-9) & returning a list of therapists.

Awesome Lists containing this project

README

        

# mental-health-api

Prototype for mental health api using Patient Health Questionnaire (PHQ-9) & returning a list of therapists.

## Prerequisites

- node must be installed

## Run server locally

```
yarn
yarn start:lambda

```

### Endpoints

- GET `/api/phq9`
- return PHQ-9 questionnaire

- POST `/api/diagnosis`
- return PHQ-9 score to receive diagnosis

- GET `/api/therapists`
- return a list of therapists

- GET `/api/therapists?limit=5` no default
- returns an `n` number of therapists

### Technologies

- Backend: lambda function