[INIT] Implementation of the Minimalist Unified Backend & Frontend Framework #74
Prateekiiitg56
started this conversation in
Ideas
Replies: 2 comments
-
|
@Prateekiiitg56, No need to assign any issues now. Feel free to raise the PR, and we will review it! |
Beta Was this translation helpful? Give feedback.
0 replies
-
|
@mdxabu “Okay, that will be better, sir.” |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Problem Statement: The project goal is to provide a digitization approach for recovery journeys, but the repository currently contains only documentation. To enable healthcare networks to use BHV, we need a functional, "no-bloat" application that handles user authentication, image storage, and narrative management within a single executable environment.
Proposed Solution: Implement a Python-based Flask or FastAPI monolith that serves a minimal HTML/JS frontend. This architecture ensures the backend, frontend, and database index can be initialized with one command, fulfilling the "easy installation" requirement.
Step-by-Step Implementation Plan
Action: Create a run.py entry point.
Detail: This script will initialize the local MongoDB connection (or an embedded alternative) and start the Python web server simultaneously.
Goal: Fulfill the requirement that the system runs from a single command.
Action: Implement "Straightforward" Email-based Signups.
Detail: Create a basic User model in MongoDB to handle username/password logins for two roles: Patients and Administrators.
Goal: Provide the "straightforward" signup and login process requested in the roadmap.
Action: Develop the Image + Narrative upload pipeline.
Detail: * File System: Save patient-provided images to a structured /uploads directory.
Database Index: Store the file path, patient ID, timestamp, and the textual narrative in MongoDB.
Goal: Create the core "Beehive" structure for storing and retrieving recovery data.
Action: Build two core views using simple HTML/Jinja2 templates (no heavy frameworks to keep it "minimal").
User View: Upload, view, and edit their own journey photos and stories.
Admin View: A "moderation" ecosystem to view all entries, upload on behalf of users, or delete content.
Goal: Enable the primary user interactions defined in the README.
Action: Standardize the environment.
Detail: Create a comprehensive requirements.txt and a setup.sh script to automate virtual environment creation and dependency installation.
Goal: Align with the project's goal of enabling easy installation in healthcare networks.
@mdxabu Please assign this to me
Beta Was this translation helpful? Give feedback.
All reactions