Overview
PetCare is a web app for a veterinary clinic in Kénitra. Customers book appointments online; the clinic owner manages everything from a private dashboard.
Features
- Booking form: client info, multiple pets per booking, one or more services, date and start time. End time is derived from each service's estimated duration.
- Services catalog: public page listing services with price (fixed or "consult clinic"), optional description and icon.
- Dashboard: calendar and table views of appointments, showing chosen services and booked time slots. Responsive from mobile up, server-fetched data.
- Service management: add, edit and delete services from the dashboard.
- Auth: login backed by a users table, scrypt-hashed passwords with per-password salt, auto-seeded first account, account page with password change.
- PWA + Web Push: installable app; clinic staff get push notifications on new bookings, restricted to authenticated devices.
- Agent-ready: llms.txt, AGENTS file, Markdown content negotiation, Content-Signal directives in robots.txt. Dashboard excluded from crawlers.
Stack
Next.js (React Compiler) SQLite deployed on Vercel.