A clean, modern landing page for the x402 protocol ecosystem, showcasing projects building on x402 and providing a self-registration system for new projects.
- 🎨 Clean, modern design inspired by Coinbase's x402 page
- 📱 Fully responsive layout
- 🚀 Built with Next.js 14 and Tailwind CSS
- 🤖 AI-powered project submission processing
- 📧 Automated email notifications and confirmations
- 📝 Comprehensive project submission form with validation
- 🔍 Project showcase with filtering capabilities
- ⚡ Real-time form validation and user feedback
- Node.js 18+
- npm or yarn
-
Clone the repository
-
Install dependencies:
npm install
-
Set up environment variables: Create a
.env.localfile with:# OpenAI API Key (for AI processing) OPENAI_API_KEY=your_openai_api_key_here # Resend API Key (for email sending) RESEND_API_KEY=your_resend_api_key_here # Email Configuration EMAIL_FROM=noreply@x402.solutions EMAIL_TO=admin@x402.solutions # Site Configuration SITE_URL=http://localhost:3000 SITE_NAME=X402 Ecosystem -
Run the development server:
npm run dev
-
Open http://localhost:3000 to view the site
-
Push your code to GitHub:
git add . git commit -m "Initial commit" git push origin main
-
Connect to Vercel:
- Go to vercel.com
- Sign in with your GitHub account
- Click "New Project"
- Import your repository
-
Configure Environment Variables: In Vercel dashboard, add these environment variables:
OPENAI_API_KEY=your_openai_api_key_here RESEND_API_KEY=your_resend_api_key_here EMAIL_FROM=noreply@yourdomain.com EMAIL_TO=admin@yourdomain.com SITE_URL=https://your-domain.vercel.app -
Deploy:
- Click "Deploy"
- Vercel will automatically build and deploy your site
# Build the project
npm run build
# Start production server
npm startCreate a .env.local file with the following variables:
# Required for AI processing
OPENAI_API_KEY=your_openai_api_key_here
# Required for email functionality
RESEND_API_KEY=your_resend_api_key_here
# Email configuration
EMAIL_FROM=noreply@x402.solutions
EMAIL_TO=admin@x402.solutions
# Site configuration
SITE_URL=https://your-domain.com
SITE_NAME=X402 Ecosystemsrc/
├── app/
│ ├── globals.css # Global styles and CSS variables
│ ├── layout.tsx # Root layout component
│ └── page.tsx # Main landing page
├── components/ # Reusable components (to be added)
└── lib/ # Utility functions (to be added)
- Framework: Next.js 14 with App Router
- Styling: Tailwind CSS
- Icons: Lucide React
- AI Processing: OpenAI GPT-4o-mini
- Form Handling: React Hook Form + Zod validation
- Email: Resend
- Deployment: Vercel (recommended)
- Basic project setup
- Landing page design
- AI-powered contact form implementation
- Email processing system
- Responsive design and SEO optimization
- Deployment configuration
- Project management dashboard
This project is designed to be simple and maintainable. Feel free to submit issues and enhancement requests.
MIT License - see LICENSE file for details.