Workout app like Nike Training Club, Fitbod and Peloton
Set a goal, follow a weekly plan and train with a guided timer.
- Free template
- Expo and Supabase
- iOS, Android, web
- Your own copy of the code








Screens built and filled with data




Workflows end to end
- Get started
- Train today
- Find a workout
- Follow a program
Tables already designed
Access rules on every table
Each member reads and changes only their own profile, plan, sessions, sets, saved workouts and program enrollments; the workout catalogue is readable by everyone; plans are built and sessions finished through database functions that act only for the signed-in member.
Supabase row-level security
Sample rows so no screen starts empty
- workout_exercises111
- session_sets52
- program_workouts48
- exercises40
- workouts24
Features
Everything the app does, on day one
Personal plan
A short onboarding (goal, level, days per week, session length) builds a varied two-week plan.

Today
This week's days at a glance, today's workout as a photo card, the last seven days and the current program.
Guided player
A full-screen exercise view with a countdown ring or reps, set counter, rep and weight steppers, and automatic rest with skip.
Workout summary
Time, exercises and calories, a 1 to 5 effort rating and notes, then weekly progress, streak and new records.
Explore
Search, category chips, filters for level and duration, featured workouts, programs and quick sessions under 20 minutes.
Programs
Multi-week plans with each week's workouts and progress.
Activity
The last seven days, a minutes chart, a training calendar, personal records and full history.
Profile
Stats, training plan editing, reminders, units, dark or light appearance and a profile photo.
Neon dark mode
A volt-lime on black design by default, with a light theme one tap away.
Customize with prompts
Make it yours in one sentence
Pick what to change first. Your copy opens in the editor and the AI starts right away, changing this app in place.

Make it yours
You get your own copy of Workout app. Tell the AI what to change first.
Themes and icons
Your look, before the first prompt
Pick a theme and an app icon. Your copy is made in them: no prompt, no credits.


Theme
App icon
Your copy starts in this look. It is one theme file, so every screen changes together, and you can keep adjusting it with prompts.
One prompt later
“Call it Pulse, make the brand colour electric blue, and add a water intake tracker card to Today.”
A real run on this template. One turn renamed the app, recoloured every screen and added the field to the database.


Workflows
What people can already do in it
Pick one to walk through its steps on the screen it happens on.






Today, your week and plan
Under the hood
A real full-stack app, not a mockup
For the technical side: how it is built, the database, the code itself and the stack.
The editor writes a real app. The app talks to its own Supabase backend, and the same code runs on phones and the web.
RapidNative editor
The AI writes the code, schema and sample data
Your app
Expo SDK 58, React Native, 17 screens
Supabase backend
Supabase: Postgres (13 tables, 34 access rules), auth, storage, API routes
Runs on
iOS, Android and the web
13 tables, linked the way the app works. Each member reads and changes only their own profile, plan, sessions, sets, saved workouts and program enrollments; the workout catalogue is readable by everyone; plans are built and sessions finished through database functions that act only for the signed-in member.
categories
6 sample rows
coaches
6 sample rows
exercises
40 sample rows
workouts
24 sample rows
workout_exercises
111 sample rows
programs
3 sample rows
program_workouts
48 sample rows
profiles
1 sample rows
plan_items
8 sample rows
program_enrollments
1 sample rows
saved_workouts
4 sample rows
workout_sessions
18 sample rows
session_sets
52 sample rows
Slices of this template's own files. Your copy is a standard Expo project: change it in the editor, by prompt or by hand, or, on a paid plan, download it and keep going in your own editor.
42export default function TodayScreen() {
43 const { client } = useApp();
44 const { user } = useAuth();
45 const { data: profile, isFetched: profileFetched, isFetching: profileFetching } = useProfile();
46 const userId = user?.id;
47
48 const ink = useThemeColor('--foreground');
49 const muted = useThemeColor('--muted-foreground');
50 const accent = useThemeColor('--accent');
51 const background = useThemeColor('--background');
52 const border = useThemeColor('--border');
53 const onDark = useThemeColor('--on-dark');
54 const overlay = useThemeColor('--overlay');
55 const accentForeground = useThemeColor('--accent-foreground');
56 const onDark75 = useThemeColor('--on-dark', { alpha: 0.75 });
57 const onDark85 = useThemeColor('--on-dark', { alpha: 0.85 });
58 const onDark35 = useThemeColor('--on-dark', { alpha: 0.35 });
59 const onDark20 = useThemeColor('--on-dark', { alpha: 0.2 });
60 const overlay55 = useThemeColor('--overlay', { alpha: 0.55 });
61 const overlay65 = useThemeColor('--overlay', { alpha: 0.65 });
62 const overlay90 = useThemeColor('--overlay', { alpha: 0.9 });
63 const overlay0 = useThemeColor('--overlay', { alpha: 0 });
64 const cardElevated40 = useThemeColor('--card-elevated', { alpha: 0.4 });
65 const accent12 = useThemeColor('--accent', { alpha: 0.12 });
66 const secondary = useThemeColor('--secondary');
67 const cardElevated = useThemeColor('--card-elevated');
68
69 const { data: planItems } = useQuery({
70 queryKey: ['plan_items', userId],
71 queryFn: async () => {
72 const { data, error } = await client
73 .from('plan_items')
74 .select('*')
75 .order('scheduled_on', { ascending: true });15export function computeStreakWeeks(sessions: readonly FinishedSession[]): number {
16 const dayCount = new Map<string, number>();
17 for (const s of sessions) {
18 if (!s.finished_at) continue;
19 const iso = toLocalDate(new Date(s.finished_at));
20 dayCount.set(iso, (dayCount.get(iso) ?? 0) + 1);
21 }
22
23 const now = new Date();
24 const dow = (now.getDay() + 6) % 7; // Monday = 0
25 const thisMonday = new Date(now);
26 thisMonday.setHours(0, 0, 0, 0);
27 thisMonday.setDate(now.getDate() - dow);
28
29 let weeks = 0;
30 const cursor = new Date(thisMonday);
31 for (let w = 0; w < 26; w++) {
32 let count = 0;
33 for (let i = 0; i < 7; i++) {
34 const d = new Date(cursor);
35 d.setDate(cursor.getDate() + i);
36 count += dayCount.get(toLocalDate(d)) ?? 0;
37 }
38 if (count >= 2) {
39 weeks += 1;
40 } else if (w === 0 && count < 2) {
41 // current week: skip without breaking the streak
42 } else {
43 break;
44 }
45 cursor.setDate(cursor.getDate() - 7);
46 }
47 return weeks;
48}11create policy avatars_public_read on storage.objects
12 for select using (bucket_id = 'avatars');
13
14drop policy if exists avatars_own_insert on storage.objects;
15create policy avatars_own_insert on storage.objects
16 for insert with check (
17 bucket_id = 'avatars'
18 and (storage.foldername(name))[1] = auth.uid()::text
19 );
20
21drop policy if exists avatars_own_update on storage.objects;
22create policy avatars_own_update on storage.objects
23 for update using (
24 bucket_id = 'avatars'
25 and (storage.foldername(name))[1] = auth.uid()::text
26 );
27
28drop policy if exists avatars_own_delete on storage.objects;
29create policy avatars_own_delete on storage.objects
30 for delete using (
31 bucket_id = 'avatars'
32 and (storage.foldername(name))[1] = auth.uid()::text
33 );58export const lightTheme = vars({
59 "--radius": "14",
60
61 "--background": "246 244 239",
62 "--foreground": "17 18 20",
63
64 "--card": "255 255 255",
65 "--card-foreground": "17 18 20",
66 "--card-elevated": "255 255 255",
67
68 "--popover": "255 255 255",
69 "--popover-foreground": "17 18 20",
70
71 "--primary": "17 18 20",
72 "--primary-foreground": "246 244 239",
73
74 "--secondary": "234 231 224",
75 "--secondary-foreground": "17 18 20",
76
77 "--muted": "236 233 226",
78 "--muted-foreground": "112 108 100",
79
80 "--accent": "232 72 40",
81 "--accent-foreground": "255 255 255",
82
83 "--destructive": "196 52 38",
84
85 "--border": "222 218 209",
86 "--input": "222 218 209",
87 "--ring": "232 72 40",
88
89 "--success": "46 125 82",
90 "--overlay": "12 13 15",Sample data: Twenty-four workouts across strength, HIIT, running, yoga, mobility and core, each with five to eight exercises and real sets, reps and rest times, from six coaches. Three programs: a four-week strength foundation, an eight-week first 5K and a daily mobility reset. The demo member is five weeks into a strength plan with 18 logged sessions, rising weights and personal records, a plan for this week and next, saved workouts and a program in week two. Good to know: Reminders: the setting is saved but no notification is sent. Add expo-notifications for a daily reminder. Video: exercises show photos and written steps. Plug in exercise videos with expo-video. Wearables: heart rate and calories are estimates. Connect Apple Health or Google Fit for real data.
- Framework
- Expo SDK 58, React Native 0.88.0
- Navigation
- Expo Router 58.0.26, file-based routes
- Data
- TanStack Query 5.90.16
- Styling
- NativeWind 4.2.1, one theme file
- Database
- Supabase (Postgres), row-level security on every table
- Auth
- Email and password
- Server code
- API routes in api/, deployed with the app
- Language
- TypeScript 6.0.3, strict
- Platforms
- iOS, Android, web
- Ownership
- A standard Expo project; download the full source on the Starter plan and up
Screens
Every screen, built and filled with data
17 routes: /activity, /explore, /, /profile, /edit-profile, /, /onboarding, /player/[workoutId], /program/[id], /saved, /session/[sessionId], /summary/[sessionId], /workout/[id], /sign-in, /sign-up, /welcome, /.






How it works
From template to the App Store
- Step 1
Use the template
You get your own copy in your account, running in the editor with its data.
- Step 2
Tell the AI what to change
Rename it, restyle it, add features. It edits this app; it does not start over.
- Step 3
Run it and ship it
Open it on your phone with a QR code, then publish to the App Store and Google Play.
Questions
Before you start
Is the template free?+
Do I own the code?+
Can I publish it to the App Store and Google Play?+
What is mocked?+
Can I use my own backend?+
Is this affiliated with Nike Training Club, Fitbod or Peloton?+
More templates
Or start from another app
Language learning applike Duolingo, Babbel and Busuu
Food delivery applike DoorDash, Uber Eats and Swiggy
AI companion chat applike Character.ai, Replika and Talkie
AI calorie trackerlike Cal AI, MyFitnessPal and Lose It!
Ride-hailing applike Uber
Expense splitting applike Splitwise
Your app, already started
Free to start. Your copy, your name, your brand, and the AI ready to change any of it.
Not affiliated with or endorsed by Nike, Fitbod or Peloton. All names are trademarks of their owners.























