This template provides a premium and subtle experience for hackathon projects, streamlining authentication, backend setup, AI integration, and landing page creation with minimal configuration. By simply adding environment variables, developers can get started immediately with a fully functional project.
- Authentication using Clerk
- Database Setup using NeonDB
- AI Integration via Google Gemini API
- Landing Page with premium animations and UI components
- Serverless Backend powered by Next.js API routes
- Dark Mode Support for a modern user experience
- One-Click Deployment via Vercel
- Frontend: Next.js, Tailwind CSS, Framer Motion
- Backend: Supabase, NeonDB
- Auth: Clerk
- AI: Google Gemini API
Ensure you have the following installed:
- Node.js (v16+)
- Yarn or npm
- Clone the repository:
git clone https://github.com/your-repo/hackathon-template.git cd hackathon-template - Install dependencies:
npm install # or yarn install - Set up environment variables by creating a
.envfile in the root directory and adding the following:NEXT_PUBLIC_CLERK_SIGN_IN_URL=/auth NEXT_PUBLIC_CLERK_SIGN_UP_URL=/auth NEXT_PUBLIC_CLERK_AFTER_SIGN_IN_URL=/dashboard NEXT_PUBLIC_CLERK_AFTER_SIGN_UP_URL=/dashboard NEXT_PUBLIC_CLERK_PUBLISHABLE_KEY=<your-clerk-key> NEXT_PUBLIC_DATABASE_URL=<your-database-url> CLERK_SECRET_KEY=<your-clerk-secret-key> NEXT_PUBLIC_GEMINI_API_KEY=<your-gemini-api-key>
Start the development server:
npm run dev # or yarn devThe app will be available at http://localhost:3000.
- Install Vercel CLI:
npm install -g vercel
- Deploy the project:
vercel
Follow the setup instructions to configure your project.
📦 hackathon-template
├── 📂 components # UI components
├── 📂 pages # Next.js pages
├── 📂 utils # Utility functions and hooks
├── 📂 data # Static data files
├── 📂 styles # Global styles
├── .env.example # Sample environment variables
├── next.config.js # Next.js configuration
├── tailwind.config.js # Tailwind CSS configuration
└── README.md # Project documentation
If you would like to contribute to this project, please follow these steps:
- Fork the repository
- Create a feature branch (
git checkout -b feature-name) - Commit your changes (
git commit -m 'Add feature') - Push to the branch (
git push origin feature-name) - Create a Pull Request
This project is open-source and available under the MIT License.
For any issues or suggestions, feel free to reach out via GitHub or LinkedIn.