FastAPI backend service for DoseMate, providing APIs for medication schedules, reminders, authentication, and data storage.
Reference: FastAPI Requirements
Download from python.org and set it up.
python --version # should print Python 3.11.4
python -m pip install --upgrade pipgit clone https://github.com/dcsil/DoseMate-backend.git
cd dosemate-backend
python -m venv .venv
# then activate (choose one depending on OS)
source .venv/bin/activate # macOS / Linux
.venv\Scripts\activate # Windows✅ If active, your terminal prompt should start with (.venv).
pip install -r requirements.txtKeep this file updated to ensure others can reproduce your environment.
uvicorn app.main:app --reload --port 8000- API root: http://127.0.0.1:8000
- Docs: http://127.0.0.1:8000/docs
ngrok http 8000Note the Forwarding URL, e.g. https://example.ngrok-free.dev -> http://localhost:8000
Use this URL in Google OAuth Authorized Redirect URIs (more info in .env.template).
Confirm it works by visiting the forwarding link in your browser.
Use .env.template as reference and fill in required keys.