Docs
How to use MEDB, step by step.
Build a schedule
- On the home page, set the start date (Day 1). It defaults to today.
- For each medicine, copy the name and the dose from the pharmacy label, then choose How often and For how many days.
- Set the first dose time. "Twice a day" gives two doses 12 hours apart, "3 times a day" every 6 hours, "4 times a day" every 4 hours — all inside a 12-hour waking day. If your label or pharmacist says otherwise, choose "My own times" and type them, e.g. 08:00, 13:00, 21:00.
- "Every N hours" runs around the clock from the first dose, including at night. Courses can be 1 to 90 days.
- Choose + Add another medicine for each extra medicine. The schedule on the right (below on phones) updates as you type.
Add reminders to your calendar
- Choose Add to calendar (.ics). Your browser downloads medb-schedule-<start date>.ics.
- Open the file: Apple Calendar and Outlook import it directly; in Google Calendar use Settings → Import & export → Import.
- Each dose is a 10-minute event with an alert at the dose time, in your phone's local time. One file holds up to 1500 doses.
- To change a plan later, delete the old imported events first, then import the new file.
Save the plan and tick off doses
- Sign up (free) and open /app.
- Build the schedule there. It is saved automatically in this browser (localStorage) — clearing site data removes it.
- Tick the box next to each dose when you take it. Today's day card has a teal border.
Account API
- POST /api/auth/signup with JSON { name, email, password } creates an account and signs you in (201). Password: at least 8 characters with a letter and a number.
- POST /api/auth/login with JSON { email, password } signs you in; POST /api/auth/logout signs you out.
- GET /api/auth/me returns the signed-in user, or 401 when signed out. POST /api/account/update and /api/account/password change your name and password.
- Requests with a body must be JSON from the same origin. Schedules are not stored by the API.