A modern, production-ready Next.js 15 starter with TypeScript, Tailwind CSS, Framer Motion, and Supabase integration.
Live Demo β’ Get Started β’ Documentation β’ Deploy
Beautiful, responsive landing page with dark/light mode support
|
|
# Clone the repository
git clone https://github.com/tesseract-creator/nextjs-supabase-2025-starter.git
cd nextjs-supabase-2025-starter
# Install dependencies
npm install
# Copy environment template
cp .env.example .env.local
# Edit your environment variables
# Add your Supabase credentials, API keys, etc.
# Start the development server
npm run dev
# Open http://localhost:3000
- π¨ Update colors in
src/app/globals.css
- πΌοΈ Replace logos in
/public/assets/logos/
- π Edit content in component files
- π Deploy to your favorite platform
π Environment Variables
Create a .env.local
file with these variables:
# ποΈ Supabase (Required for database features)
NEXT_PUBLIC_SUPABASE_URL=your_supabase_project_url
NEXT_PUBLIC_SUPABASE_ANON_KEY=your_supabase_anon_key
SUPABASE_SERVICE_ROLE_KEY=your_supabase_service_role_key
# π§ Email Marketing (Optional)
KIT_API_KEY=your_kit_api_key
SENDGRID_API_KEY=your_sendgrid_api_key
SENDGRID_TEMPLATE_ID=your_sendgrid_template_id
# π Analytics (Optional)
NEXT_PUBLIC_MICROSOFT_CLARITY_ID=your_clarity_project_id
NEXT_PUBLIC_GA_MEASUREMENT_ID=your_ga_measurement_id
# π Security & Monitoring (Optional)
SENTRY_DSN=your_sentry_dsn
NEXT_PUBLIC_SENTRY_DSN=your_sentry_dsn
RATE_LIMIT_API_KEY=your_rate_limit_key
# π Site Configuration
NEXT_PUBLIC_SITE_URL=https://yourdomain.com
NODE_ENV=production
π¨ Brand Customization
Update your brand colors in src/app/globals.css
:
:root {
--brand-primary: 218 50 41; /* Your primary color */
--brand-secondary: 92 38 35; /* Your secondary color */
--brand-accent: 224 57 47; /* Your accent color */
}
Replace these files in /public/assets/logos/
:
logo-light.svg
- Full logo for light themelogo-dark.svg
- Full logo for dark themeicon-light.svg
- Icon for mobile (light)icon-dark.svg
- Icon for mobile (dark)
Key files to customize:
src/components/HeroOptimized.tsx
- Hero sectionsrc/components/Features.tsx
- Product featuressrc/components/Pricing.tsx
- Pricing planssrc/components/Testimonials.tsx
- Customer reviewssrc/components/FAQ.tsx
- Questions & answers
Command | Description |
---|---|
npm run dev |
π₯ Start development server |
npm run build |
ποΈ Build for production |
npm start |
π Start production server |
npm run lint |
π Run ESLint checks |
npm run typecheck |
π Run TypeScript checks |
npm run format |
β¨ Format code with Prettier |
npm run test |
π§ͺ Run test suite |
π§ Manual Deployment Instructions
- Push your code to GitHub
- Connect your repository to Vercel
- Add your environment variables in Vercel dashboard
- Deploy!
This template works with:
- Netlify - Static site hosting
- AWS Amplify - Full-stack deployment
- Railway - Container deployment
- Digital Ocean - App platform
- Heroku - Container deployment
Build Settings:
- Build command:
npm run build
- Start command:
npm start
- Node version:
18.x
or20.x
π¦ nextjs-supabase-2025-starter/
βββ π .github/ # GitHub templates & workflows
βββ π docs/ # Documentation & screenshots
β βββ π images/ # README images
βββ π public/ # Static assets
β βββ π assets/
β β βββ π logos/ # Brand logos
β β βββ π images/ # Public images
β βββ π favicon.ico
βββ π src/ # Source code
β βββ π app/ # Next.js App Router
β β βββ π api/ # API routes
β β βββ π globals.css # Global styles
β β βββ π layout.tsx # Root layout
β β βββ π page.tsx # Homepage
β βββ π components/ # React components
β β βββ π ui/ # Reusable UI components
β β βββ π *.tsx # Page components
β βββ π lib/ # Utility functions
βββ π .env.example # Environment template
βββ π .gitignore # Git ignore rules
βββ π CLAUDE.md # AI assistant guidelines
βββ π CONTRIBUTING.md # Contribution guidelines
βββ π LICENSE # MIT license
βββ π next.config.ts # Next.js configuration
βββ π package.json # Dependencies
βββ π README.md # This file
βββ π tailwind.config.js # Tailwind configuration
βββ π tsconfig.json # TypeScript configuration
|
|
We welcome contributions! Please see our Contributing Guidelines for details.
π Development Workflow
- Fork the repository
- Create your feature branch (
git checkout -b feature/amazing-feature
) - Commit your changes (
git commit -m 'Add amazing feature'
) - Push to the branch (
git push origin feature/amazing-feature
) - Open a Pull Request
- π Next.js Documentation
- π¨ Tailwind CSS Docs
- β‘ Framer Motion Guide
- ποΈ Supabase Documentation
- π§ Component API Reference
- π Bug Reports: Open an issue
- π‘ Feature Requests: Request a feature
- π¬ Questions: Join discussions
This project is licensed under the MIT License - see the LICENSE file for details.
Built with β€οΈ by Tesseract Creator
Made possible by these amazing technologies:
Ready to build something amazing? Get started now! π