A mental health crisis early warning system built with FastAPI and a simple HTML frontend.
cd ~/Developer/personal_projects/HealthCaresource venv/bin/activatepip install fastapi uvicorn transformers torchuvicorn backend:app --reload --port 8000Backend will run at:
http://127.0.0.1:8000
cd ~/Developer/personal_projects/HealthCare
open index.htmlWhen running commands, your terminal will show your own computer name, not mine.
Example (my computer):
(venv) (base) arbindkhaira@Arbinds-MacBook-Pro-3 HealthCare %
On your computer, it will look something like:
(venv) (base) yourname@Your-MacBook HealthCare %
👉 This is normal — just run the same commands.
cd ~/Developer/personal_projects/HealthCare
source venv/bin/activate
pip install fastapi uvicorn transformers torch
uvicorn backend:app --reload --port 8000Then in another terminal:
cd ~/Developer/personal_projects/HealthCare
open index.html- Python
- FastAPI
- Uvicorn
- Transformers
- Torch
- HTML / CSS / JavaScript
- Keep the backend terminal running
- Always activate
venvbefore running backend - Use your own folder name if different
- Frontend and backend must run at the same time