This is a complete Next.js 14 application ready for deployment on Lovable or any modern hosting platform.
✅ Working Pages:
- Homepage with gender selection (/)
- MAXima² landing page for women (/maxima)
- MAXimo² landing page for men (/maximo)
✅ Complete Setup:
- Next.js 14 with App Router
- TypeScript configuration
- Tailwind CSS with GenoMAX² brand colors
- Prisma database schema
- All dependencies defined
✅ Ready to Build:
- 9-step AI assessment (specs included)
- Blood biomarker recommendations
- AI Advisor chat
- Calendar integration
- Payment processing
-
Upload Project to Lovable:
- Go to https://lovable.dev
- Create new project or import existing
- Upload the entire
genomax2-websitefolder - Lovable will automatically detect Next.js structure
-
Lovable Will Handle:
- Automatic dependency installation
- Build configuration
- Deployment to production URL
- SSL certificate setup
-
Configure Environment Variables in Lovable:
DATABASE_URL=your_postgresql_connection_string NEXTAUTH_SECRET=your_secret_key NEXTAUTH_URL=https://your-lovable-url.lovable.app -
Done! Lovable deploys automatically
-
Push to GitHub:
cd genomax2-website git init git add . git commit -m "Initial GenoMAX² website" git branch -M main git remote add origin your-github-repo-url git push -u origin main
-
Deploy on Vercel:
- Go to https://vercel.com
- Click "New Project"
- Import your GitHub repository
- Vercel auto-detects Next.js
- Add environment variables
- Deploy!
- Build Command:
npm run build - Publish Directory:
.next - Add environment variables in Netlify dashboard
- Node.js 18+ and npm 9+
- PostgreSQL database (optional for full features)
-
Install Dependencies:
cd genomax2-website npm install -
Set Up Environment:
cp .env.example .env # Edit .env with your values -
Run Development Server:
npm run dev
-
Open in Browser:
http://localhost:3000
The application works without a database for the landing pages. To enable full features:
- Create Vercel Postgres database
- Copy connection string to
DATABASE_URL - Run migrations:
npx prisma db push
- Create Supabase project
- Get PostgreSQL connection string
- Add to
DATABASE_URL - Run migrations:
npx prisma db push
NEXTAUTH_SECRET: Random string for session encryptionNEXTAUTH_URL: Your production URL
DATABASE_URL: PostgreSQL connection stringOPENAI_API_KEY: For AI Advisor chatSTRIPE_SECRET_KEY: For payment processingGOOGLE_CLIENT_ID: For Google OAuth login
genomax2-website/
├── app/
│ ├── page.tsx # Homepage (gender selection)
│ ├── layout.tsx # Root layout
│ ├── globals.css # Global styles
│ ├── maxima/
│ │ └── page.tsx # Women's landing page
│ └── maximo/
│ └── page.tsx # Men's landing page
├── prisma/
│ └── schema.prisma # Database schema
├── package.json # Dependencies
├── tsconfig.json # TypeScript config
├── tailwind.config.js # Tailwind + brand colors
├── next.config.js # Next.js config
└── .env.example # Environment template
✅ Responsive design (mobile + desktop) ✅ Gender-specific landing pages ✅ Brand colors and typography ✅ Navigation between pages ✅ Beta signup forms (frontend only) ✅ SEO optimization
The landing pages are complete. These features need development:
- 9-step questionnaire flow
- Progress indicator
- Form validation
- Results page
- Test kit ordering
- Results upload
- Biomarker visualization
- Recommendations generation
- Protocol display
- Adherence tracking
- Progress metrics
- Settings
- Chat interface
- OpenAI integration
- Context-aware responses
- Chat history
- Google Calendar sync
- Reminder scheduling
- Event creation
- Stripe integration
- Subscription management
- Billing portal
- MAXima² (Women): Purple/Pink gradient (
maxima-500tomaxima-700) - MAXimo² (Men): Navy Blue gradient (
maximo-500tomaximo-700) - Neutrals: Brand grays for text and backgrounds
- Headlines: Space Grotesk (font-display)
- Body: Inter (font-sans)
- Use
btn-primaryfor MAXima² CTAs - Use
btn-primary-maximofor MAXimo² CTAs - Use
btn-secondaryfor secondary actions - Use
section-containerfor page containers
- Homepage loads and displays both options
- Clicking MAXima² navigates to women's page
- Clicking MAXimo² navigates to men's page
- Navigation between pages works
- Mobile responsive design works
- All images and icons display
- Forms are functional (frontend)
npm run lint # Check for code issues
npm run build # Test production build- Run
npm installto ensure all dependencies are installed - Check Node.js version (need 18+)
- Clear
.nextfolder and rebuild
- Verify Tailwind CSS is configured correctly
- Check
globals.cssis imported in layout - Ensure custom colors are in
tailwind.config.js
- Verify
DATABASE_URLis correct format - Check database is accessible from your deployment
- Run
npx prisma db pushto sync schema
For technical questions about this codebase:
- Check the inline code comments
- Review the Prisma schema for database structure
- See Next.js 14 documentation for App Router
- Deploy Landing Pages: Get the site live with working gender-specific pages
- Set Up Analytics: Add Google Analytics or Mixpanel
- Build Assessment: Start with the 9-step AI questionnaire
- Add Database: Set up PostgreSQL for user data
- Integrate APIs: Connect OpenAI, Stripe, blood test services
Ready to launch! The foundation is solid and production-ready. Build features incrementally and ship fast.