A modern landing page for the AI App Store product.
First, install the dependencies:
npm installThen, run the development server:
npm run devOpen http://localhost:3000 with your browser to see the result.
- Modern, responsive design
- Hero section with email signup (waitlist)
- Features showcase
- How it works section
- Contact form section
- Demo booking modal
- Fully functional messaging/contact system
- API routes for form submissions
- File-based data storage (easily upgradeable to database)
- Smooth animations and transitions
- Next.js 14
- React 18
- TypeScript
- Tailwind CSS
├── app/
│ ├── api/
│ │ ├── waitlist/
│ │ │ └── route.ts # Waitlist signup API
│ │ └── contact/
│ │ └── route.ts # Contact/Demo booking API
│ ├── layout.tsx # Root layout
│ ├── page.tsx # Landing page
│ └── globals.css # Global styles
├── data/ # Data storage (created automatically)
│ ├── waitlist.json # Waitlist entries
│ └── contacts.json # Contact form submissions
├── package.json
└── tailwind.config.js
The application includes a fully functional messaging and contact system:
- Waitlist Signup - Users can join the waitlist via the hero section form
- Contact Form - Full contact form section with name, email, company, and message fields
- Demo Booking - Modal form for booking demos with required company field
- Data Storage - All submissions are stored in JSON files in the
/datadirectory - Validation - Client and server-side validation for all forms
- Error Handling - Proper error messages and success notifications
POST /api/waitlist- Submit email to waitlistGET /api/waitlist- View waitlist entries (for admin use)POST /api/contact- Submit contact form or demo requestGET /api/contact- View contact submissions (for admin use)
By default, the system uses file-based storage (JSON files). This is perfect for development and small-scale deployments. For production, you can easily upgrade to a database by:
- Installing a database package (e.g.,
prisma,mongoose, or@vercel/postgres) - Updating the API routes to use the database instead of file system
- The data structure remains the same, making migration straightforward
For production deployment, consider:
- Email Notifications - Add email service integration (Resend, SendGrid, etc.) to notify you of new submissions
- Database - Migrate from file storage to a proper database (PostgreSQL, MongoDB, etc.)
- Rate Limiting - Add rate limiting to prevent spam
- Authentication - Add authentication to admin GET endpoints
- Environment Variables - Configure email and database credentials via environment variables
The easiest way to deploy is using Vercel:
-
Push your code to GitHub
git init git add . git commit -m "Initial commit" git remote add origin https://github.com/YOUR_USERNAME/AI-App-Store.git git push -u origin main
-
Import to Vercel
- Go to vercel.com/new
- Import your GitHub repository
- Click "Deploy"
- Your site will be live in ~2 minutes!
Note: File-based storage won't work on Vercel. See DEPLOYMENT.md for solutions.
For detailed deployment instructions, see:
- QUICK_DEPLOY.md - 5-minute quick start
- DEPLOYMENT.md - Complete deployment guide with storage solutions