Liyaqa

A gym and personal-training platform with a member dashboard, a coach dashboard, device ingest and a full API, in Arabic and English.

Liyaqa is one Next.js project that gives a gym everything it needs online: a public landing page that sells memberships, a dashboard where each member follows their training, food, sleep and progress, and a dashboard where coaches follow their clients, write programs and run the community. Phones and watches can send steps, heart rate and sleep through an ingest API with per-member keys.

The sample data is a gym in Muscat: 5 coaches, 30 members with 90 days of logs, 6 programs, 62 exercises, 48 foods, 4 meal plans, 4 community groups, challenges and badges. Prices are in Omani rial; every text is in Arabic (the default, right-to-left) and English.

What is in the box

Part What it does
Public website Landing page with programs, coaches, membership plans, members' stories and a join call; sign in with a Member / Coach switch; register; forgot password; a welcome wizard for new members
Member dashboard Overview (activity, calories and macros, sleep, weekly heart rate, upcoming workouts, steps, a motivational banner), activity log, workouts with set-by-set logging, nutrition, sleep, health, progress with private photos, community, messages and weekly check-ins with the coach, devices, an AI assistant, settings
Coach dashboard Coaching overview (clients needing attention, roster momentum, weekly check-ins, assigned work, gym accounts), my clients and client detail, all members (head coach), content (program builder, exercise library, meal plans), community and awards, coaches, coach roles, a program-drafting assistant, a UI components page, settings
Backend API About 75 route handlers with role checks; every chart and total is computed on the server

Packages

The documentation shows a package filter at the top of the sidebar:

  • Full Stack: everything above.
  • Member & Coach Dashboard: the two dashboards and the public pages, without the device ingest documentation.
  • Backend API: the API and data model only, for teams that build their own app.

Where to start

  1. Installation: running locally in five minutes.
  2. Pages and roles: who sees what.
  3. Environment variables: mail, AI, demo mode and the rest.
  4. API reference if you are building a mobile app on top.