A Data Framework for Behavioral Health with Digitized Drawings and Photographs.
This project aims to analyze behavioral health and complement healthcare practice with community health metrics in Alaska using a data federation approach. By leveraging data from various sources, we can gain insights into behavioral health patterns and improve healthcare practices in the community.
- Backend: Flask (Python)
- Frontend: React (TypeScript) in
frontend/ - User Authentication: Google OAuth2
- Local Authentication: Clerk REST API
- Database: MongoDB
- Storage: Local filesystem for media uploads in
static/uploads/with PDF thumbnails instatic/uploads/thumbnails/
graph TD;
User["User uploads an image with title, description, sentiment & voice note"] -->|POST request| Backend[Flask Backend]
Backend -->|Stores metadata| MongoDB[MongoDB Database]
Backend -->|Stores image & voice note| StaticFolder[Static Folder]
Admin["Admin views uploaded images & metadata"] -->|GET request| Backend
Backend -->|Fetches data| MongoDB
Backend -->|Serves images & voice notes| StaticFolder
User & Admin -->|Authenticated| Auth[Flask Authentication]
For instructions to configure and run this project locally, see the setup.md.
Note: dev branch is our primary development branch. The main branch is our stable branch. Please create pull requests against the dev branch if you are contributing to ongoing development. For specific contribution guidelines, see the contributing.md.
The main branch is frozen for direct commits and only pull requests from a stable development branch are merged into the main branch.