Set up your own Personal Trainer Planner instance in 30 minutes
Make sure you have these free accounts ready:
Get your own copy of the project on GitHub:
You now own a copy at github.com/YOUR-USERNAME/personal-trainer-planner
Save your database URL!
After creation, go to the Quickstart tab and copy the connection string. You'll need it in Step 4.
Set up Gmail to send password reset emails:
Required for app passwords. Skip if already enabled.
Important: You won't see this password again. Save it somewhere safe!
personal-trainer-planner
Add these variables one by one:
DATABASE_URL
postgres://...
Your PostgreSQL URL from Step 2
NEXTAUTH_SECRET
[generate at generate-secret.vercel.app/32]
Random string for JWT signing
NEXTAUTH_URL
(leave empty)
Vercel sets this automatically
SMTP_HOST
smtp.gmail.com
SMTP_PORT
587
SMTP_USER
your-email@gmail.com
Your Gmail address
SMTP_PASSWORD
xxxx xxxx xxxx xxxx
16-character app password from Step 3
EMAIL_FROM
your-email@gmail.com
Same as SMTP_USER
PT_BRAND_NAME
Your Business Name
e.g., John's Fitness Training
NEXT_PUBLIC_PT_FIRST_NAME
YourName
Your first name
CONTENTFUL_SPACE_ID
Optional(skip for now)
CONTENTFUL_ACCESS_TOKEN
Optional(skip for now)
CONTENTFUL_MANAGEMENT_API_ACCESS_TOKEN
Optional(skip for now)
After adding all variables, click Deploy and wait 3-5 minutes.
Choose one of these methods to create your admin account:
Best for testing. Creates a demo admin account.
npx prisma db seed
Email: admin@example.com
Password: test123
Best for real use. Create a secure admin account.
npm install -g prisma
DATABASE_URL="your-database-url" npx prisma studio
admin
INDIVIDUAL
Verify everything works correctly:
Go to your Vercel URL (shown after deployment)
Use the admin credentials you created
Your Personal Trainer Planner is now live. Start adding clients and managing your business!
Common issues and solutions
Complete before going live with real data: