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
- Installation: running locally in five minutes.
- Pages and roles: who sees what.
- Environment variables: mail, AI, demo mode and the rest.
- API reference if you are building a mobile app on top.