Simple appointment booking for small clinics in Vietnam.
- Frontend: Next.js 14 + Tailwind CSS + shadcn/ui
- Backend: Next.js API Routes (serverless)
- Database: Supabase (PostgreSQL + Auth + Realtime)
- SMS/Zalo: Zalo ZNS hoặc eSMS.vn
- Hosting: Vercel (free tier đủ dùng)
- Fast to build (1-2 weeks MVP)
- Free/cheap hosting
- Supabase free tier generous
- Next.js = SEO friendly
- Landing page
- Clinic registration/login
- Basic dashboard
- Add patients
- Create appointments
- Calendar view
- Patient booking page (public link)
- SMS/Zalo reminder
- Basic reports
-- Clinics (tenants) clinics: id, name, phone, address, slug, created_at -- Users (clinic staff) users: id, clinic_id, email, name, role, created_at -- Patients patients: id, clinic_id, name, phone, dob, notes, created_at -- Appointments appointments: id, clinic_id, patient_id, doctor_name, datetime, duration_min, status, notes, created_at
npm install
cp .env.example .env.local
# Add Supabase keys
npm run dev