Skip to content

Latest commit

 

History

History
194 lines (139 loc) · 5.11 KB

File metadata and controls

194 lines (139 loc) · 5.11 KB

Introduction

Mind Connect is a mental health tracker designed for patients who need to track specific mental-health indicators during the course of psychological or farmaceutical interventions.

Mind-Connect-Demo.mov

(back to top)

Motivation

When receiving treatment, it can be difficult to objectively track the evolution of mental-health-related symptoms over time. Moreover, many patients receive treatment from different mental health professionals who can’t always have access to the shared patient folders nor communicate about the patient evolution.

Mind Connect enables users to track different different mental health indicators (customizable) over a span of time and see how this evolution plots over time.

Users can track mental health-related symptoms on a scale from 0 to 10 and visualize their evolution on a line plot. Users can input their own mental health indicators and filter the plotted data based on month or by choosing a custom time frame.


(back to top)

Tools Used

  • VS Code
  • Github
  • Gitbash
  • Postman
  • MySQL
  • HTML
  • CSS
  • JavaScript
  • React.js
  • Bootstrap
  • Node.js
  • Express
  • Recharts
  • Luxon
  • React Router
  • DrawSQL

(back to top)

Getting started

Prerequisites

  • npm
  • node
  • mySQL

Installation

  1. Create a .env file:
DB_HOST = localhost
DB_NAME = userdata
DB_USER = // your db username
DB_PASS = // your db password
TZ = UTC
  1. To run the database, type 'mysql' into the terminal and run the following command:
 CREATE DATABASE userdata;
  1. Install NPM packages on both the server and on the client.
npm install
  1. Make sure to populate your database with the correct info by typing this on the server side:
npm run migrate
  1. To run the backend, type in the server side:
npm start
  1. In a second terminal window, type 'cd client' to get into the front-end folder, then type:
npm start

Frontend runs on http://localhost:3000, and backend runs on http://localhost:5000.

(back to top)

Database Schema

alt text

(back to top)

API routes

You can access a table describing all API routes here

User flow diagram

alt text

(back to top)

Future features:

  • Disable submit buttons if forms incomplete
  • Log-in and sign-up
  • Different access for mental-health professionals
  • Comments in progress view
  • Notifications
  • Include changes of medication in plot

Instructions to add features:

  1. Fork the Project
  2. Create your Feature Branch (git checkout -b feature/MyFeature)
  3. Commit your Changes (git commit -m 'Added MyFeature')
  4. Push to the Branch (git push origin feature/MyFeature)
  5. Open a Pull Request

(back to top)

Contact

Veronica Baldin - LinkedIn

(back to top)

Acknowledgements

Thank you for all your help!

This is a student project that was created at CodeOp, a full stack development bootcamp in Barcelona.

(back to top)