A modern, production-ready Next.js 15 starter with TypeScript, Tailwind CSS, Framer Motion, and Supabase integration.
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! 🚀