Skip to content

Docs

How to use MEDB, step by step.

Build a schedule

  1. On the home page, set the start date (Day 1). It defaults to today.
  2. For each medicine, copy the name and the dose from the pharmacy label, then choose How often and For how many days.
  3. 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.
  4. "Every N hours" runs around the clock from the first dose, including at night. Courses can be 1 to 90 days.
  5. 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

  1. Choose Add to calendar (.ics). Your browser downloads medb-schedule-<start date>.ics.
  2. Open the file: Apple Calendar and Outlook import it directly; in Google Calendar use Settings → Import & export → Import.
  3. 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.
  4. To change a plan later, delete the old imported events first, then import the new file.

Save the plan and tick off doses

  1. Sign up (free) and open /app.
  2. Build the schedule there. It is saved automatically in this browser (localStorage) — clearing site data removes it.
  3. Tick the box next to each dose when you take it. Today's day card has a teal border.

Account API

  1. 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.
  2. POST /api/auth/login with JSON { email, password } signs you in; POST /api/auth/logout signs you out.
  3. 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.
  4. Requests with a body must be JSON from the same origin. Schedules are not stored by the API.